Mercurial > geeqie.yaz
comparison configure.in @ 1262:d66f57063cc3
Move -Wall before -Wno-* options for them to have any effect.
author | zas_ |
---|---|
date | Mon, 26 Jan 2009 14:49:09 +0000 |
parents | cffca6889ad4 |
children | 13e96406760b |
comparison
equal
deleted
inserted
replaced
1261:cffca6889ad4 | 1262:d66f57063cc3 |
---|---|
66 Development options: | 66 Development options: |
67 AC_HELP_STRING([--enable-debug-log], [enable debugging messages [default=yes]])], [], [enable_debug_log="yes"]) | 67 AC_HELP_STRING([--enable-debug-log], [enable debugging messages [default=yes]])], [], [enable_debug_log="yes"]) |
68 | 68 |
69 if test "x${enable_debug_flags}" != "xno" | 69 if test "x${enable_debug_flags}" != "xno" |
70 then | 70 then |
71 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" | |
72 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" | |
73 if test "x${enable_developer}" == "xyes" | 71 if test "x${enable_developer}" == "xyes" |
74 then | 72 then |
75 CXXFLAGS="${CXXFLAGS} -Wall" | 73 CXXFLAGS="${CXXFLAGS} -Wall" |
76 CFLAGS="${CFLAGS} -Wstrict-prototypes -Wall" | 74 CFLAGS="${CFLAGS} -Wstrict-prototypes -Wall" |
77 fi | 75 fi |
76 __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" | |
77 CXXFLAGS="${CXXFLAGS} ${__COMMONFLAGS}" | |
78 CFLAGS="${CFLAGS} ${__COMMONFLAGS} -Wimplicit-int -Werror-implicit-function-declaration" | |
78 __IS_DEBUG_FLAGS=yes | 79 __IS_DEBUG_FLAGS=yes |
79 else | 80 else |
80 __IS_DEBUG_FLAGS=no | 81 __IS_DEBUG_FLAGS=no |
81 fi | 82 fi |
82 | 83 |