This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/18773] [4.0 Regression] GCC terminates on warnings compiling ada/raise.c
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Dec 2004 03:25:45 -0000
- Subject: [Bug ada/18773] [4.0 Regression] GCC terminates on warnings compiling ada/raise.c
- References: <20041202024036.18773.awreynolds@mac.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-02 03:25 -------
This patch should fix it (I am testing it right now):
Index: ada/Make-lang.in
===============================================================
====
RCS file: /cvs/gcc/gcc/gcc/ada/Make-lang.in,v
retrieving revision 1.96
diff -u -p -r1.96 Make-lang.in
--- ada/Make-lang.in 27 Nov 2004 01:53:46 -0000 1.96
+++ ada/Make-lang.in 2 Dec 2004 03:25:18 -0000
@@ -70,7 +70,7 @@ ADA_FLAGS_TO_PASS = \
# FIXME: need to add $(ALL_ADA_CFLAGS) to .c.o suffix rule
# Use loose warnings for this front end, but add some special flags
-ada-warn = $(ALL_ADA_CFLAGS) $(WERROR)
+ada-warn = $(ALL_ADA_CFLAGS)
# unresolved warnings in a couple of files
ada/tracebak.o-warn = -Wno-error
ada/b_gnat1.o-warn = -Wno-error
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18773