Thread (3 messages) 3 messages, 3 authors, 2000-07-10

Re: -Werror is causing some heart ache

flat view

From: Pavel Roskin <hidden>
Date: 2000-07-10 23:42:59

Hello!
In one of the recent changesets, the CFLAGS definition in ./Makefile
was modified to add -Werror.  The -Werror option to gcc causes it to
treat warnings are errors.
I have already complained about this to the main linux list. Warnings are
bad, but at this stage of the game it is an ordinary user recompiling the
kernel who suffers, not the sloppy developer.

Linux moves to the next stable release. What if in some configurations
some variables are defined but not used? Should we add more and more
ifdef's to fix those subtle warnings (and possibly break other
configurations without leaving the time to fix them)? I don't think so.

Regards,
Pavel Roskin


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help