Question on -Werror usage in Makefiles...
Andreas Jaeger
aj@suse.de
Sun Nov 2 07:53:00 GMT 2003
"Kaveh R. Ghazi" <ghazi@caip.rutgers.edu> 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
--
Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
SuSE Linux AG, Deutschherrnstr. 15-19, 90429 Nürnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20031102/b9d7c671/attachment.sig>
More information about the Gcc-patches
mailing list