# HG changeset patch # User zas_ # Date 1232981349 0 # Node ID d66f57063cc39ca208289450139df92b42458123 # Parent cffca6889ad4be244bfbfa2e1160997ca662b2bb Move -Wall before -Wno-* options for them to have any effect. diff -r cffca6889ad4 -r d66f57063cc3 configure.in --- a/configure.in Mon Jan 26 14:18:08 2009 +0000 +++ b/configure.in Mon Jan 26 14:49:09 2009 +0000 @@ -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