This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [Ada] warning: file name does not match unit name
- From: Andreas Schwab <schwab at suse dot de>
- To: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Cc: gcc at gcc dot gnu dot org
- Date: 14 Nov 2001 13:21:59 +0100
- Subject: Re: [Ada] warning: file name does not match unit name
- References: <10111141218.AA12345@vlsi1.ultra.nyu.edu>
kenner@vlsi1.ultra.nyu.edu (Richard Kenner) writes:
|> [Btw: why is this a warning if the compiler exits unsucessfully without
|> creating an object?]
|>
|> It *is* a warning and it should create an object. Sounds like
|> something else is wrong. Use -v -save-temps and see what's getting
|> written. Look for *.s and *.ali.
gnat1 creates a *.s file with this contents:
.file "a-charac.ads"
.pred.safe_across_calls p1-p5,p16-p63
.file 1 "../../../gcc/ada/a-charac.ads"
.section .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
.section .debug_info,"",@progbits
.Ldebug_info0:
.section .debug_line,"",@progbits
.Ldebug_line0:
.text
.Ltext0:
but no *.ali file, and exits with 5.
Andreas.
--
Andreas Schwab "And now for something
Andreas.Schwab@suse.de completely different."
SuSE Labs, SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5