This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Fix MinGW bootstrap



On Dec 2, 2004, at 4:52 AM, Mark Mitchell wrote:


Andreas Schwab wrote:
Mark Mitchell <mark@codesourcery.com> writes:
Since Danny has validated this approach, I've applied this fix to
correct the fact that the bogus -Wformat errors were causing a
bootstrap failure on Windows.
This breaks bootstrap on ia64:

How? All I did was replace @WERROR@ with $(WERROR) -- I think. I don't have a good way of reproducing this; do you have any additional info?


It breaks Ada bootstrap everywhere, is that enough information.
It breaks it becauseThe following patch fixes it.
Index: 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
--- Make-lang.in        27 Nov 2004 01:53:46 -0000      1.96
+++ Make-lang.in        2 Dec 2004 13:00:25 -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

Thanks,
Andrew Pinski


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]