Christophe Fergeau wrote:
>> Scroll a few lines down in the configure.ac file: it's there within
>> a conditional checking for gcc.
> 
> Ah oki, sorry, I only looked at the diff :)

Am I looking at this wrong?  The code you're talking about is this:

252 AC_ARG_ENABLE(more-warnings,
253 [  --enable-more-warnings  Maximum compiler warnings],
254 set_more_warnings="$enableval",[
255 if test -e "$srcdir/autogen.sh"; then
256         set_more_warnings=yes
257 else
258         set_more_warnings=no
259 fi
260 ])
261 AC_MSG_CHECKING(for more warnings, including -Werror)
262 if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
263         AC_MSG_RESULT(yes)
264         CFLAGS="\
265         -Wall \
266         -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes \
267         -Wnested-externs -Wpointer-arith \
268         -Wcast-align -Wsign-compare \
269         -Werror -std=c89 \
270         $CFLAGS"

So, won't this make the only people to get -Wall be folks compiling
from SVN, or those who explicitly use --enable-more-warnings?  Is that
the intent?

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In a nation ruled by swine, all pigs are upward mobile.
    -- Hunter S. Thompson

Attachment: pgpb4QoO9xQG3.pgp
Description: PGP signature

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to