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...

"Kaveh R. Ghazi" <> writes:

> Sorry, I think your approach is wrong.  You're adding strict warnings
> (-pedantic) to target files which are only compiled by gcc and thus
> should be able to use gcc-isms.  Then you're working on needlessly
> fixing these warnings and/or also proposing adding -Wno-error to new
> files which used to compile cleanly.
> I think you should consider another approach.  I'm going to guess that
> the new warnings from SYSCALLS.c are all of the "old-style"
> declaration type?  If so, you may want to simply add
> -Wno-old-style-declarations to the rule which compiles that file.
> Should be a one line fix.

It is - I send it previously.  But I was surprised that the
-warn=-Wno-error black-listing does not work...

 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]