This is the mail archive of the 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: Question on -Werror usage in Makefiles...

"Zack Weinberg" <> writes:

> Andreas Jaeger <> writes:
>> "Zack Weinberg" <> writes:
>>> Assuming your check succeeds, yes, go ahead and check this in.  We
>> The bootstrap/testrun succeeded, so I committed it.
>>> will probably need to deal with further breakage but I think it's best
>>> if that is done in follow-up patches.
>> Ok.
>> We now can add also the -Werror patch from Kaveh to the Makefile...
> Yes, please go ahead and do that.

I'm appending the patch again. 

The patch has been tested on x86_64-linux-gnu and i686-linux-gnu with
no regressions.


2003-11-01  Kaveh R. Ghazi  <>

	* (GCC_CFLAGS): Add @WERROR@ for target files.

Index: gcc/
--- gcc/	31 Oct 2003 12:41:34 -0000	1.1187
+++ gcc/	1 Nov 2003 12:20:08 -0000
@@ -287,7 +287,7 @@ GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) ./x
 # This is used instead of ALL_CFLAGS when compiling with GCC_FOR_TARGET.
 # It omits XCFLAGS, and specifies -B./.
 # It also specifies -isystem ./include to find, e.g., stddef.h.
 # ---------------------------------------------------
 # Programs which produce files for the target machine

 Andreas Jaeger,,
  SuSE Linux AG, Deutschherrnstr. 15-19, 90429 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

Attachment: pgp00000.pgp
Description: PGP signature

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