Revision: 1358
http://geeqie.svn.sourceforge.net/geeqie/?rev=1358&view=rev
Author: zas_
Date: 2009-01-26 14:49:09 +0000 (Mon, 26 Jan 2009)
Log Message:
-----------
Move -Wall before -Wno-* options for them to have any effect.
Modified Paths:
--------------
trunk/configure.in
Modified: trunk/configure.in
===================================================================
--- trunk/configure.in 2009-01-26 14:18:08 UTC (rev 1357)
+++ trunk/configure.in 2009-01-26 14:49:09 UTC (rev 1358)
@@ -68,13 +68,14 @@
if test "x${enable_debug_flags}" != "xno"
then
- CXXFLAGS="${CXXFLAGS} -g -O0 -Wunused-value -Wunused-variable
-Wunused-function -Wunused-label -Wcomment -Wmissing-braces -Wparentheses
-Wreturn-type -Wswitch -Wstrict-aliasing -Wextra -Wno-unused-parameter -Wformat
-Wformat-security"
- CFLAGS="${CFLAGS} -g -O0 -Wunused-value -Wunused-variable -Wunused-function
-Wunused-label -Wcomment -Wimplicit-int -Werror-implicit-function-declaration
-Wmissing-braces -Wparentheses -Wreturn-type -Wswitch -Wstrict-aliasing -Wextra
-Wno-unused-parameter -Wformat -Wformat-security"
if test "x${enable_developer}" == "xyes"
then
- CXXFLAGS="${CXXFLAGS} -Wall"
- CFLAGS="${CFLAGS} -Wstrict-prototypes -Wall"
+ CXXFLAGS="${CXXFLAGS} -Wall"
+ CFLAGS="${CFLAGS} -Wstrict-prototypes -Wall"
fi
+ __COMMONFLAGS="-g -O0 -Wextra -Wunused-value -Wunused-variable
-Wunused-function -Wunused-label -Wcomment -Wmissing-braces -Wparentheses
-Wreturn-type -Wswitch -Wstrict-aliasing -Wno-unused-parameter -Wformat
-Wformat-security"
+ CXXFLAGS="${CXXFLAGS} ${__COMMONFLAGS}"
+ CFLAGS="${CFLAGS} ${__COMMONFLAGS} -Wimplicit-int
-Werror-implicit-function-declaration"
__IS_DEBUG_FLAGS=yes
else
__IS_DEBUG_FLAGS=no
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn