changeset 692:1af0ce40cf90

Remove C-specific gcc options from CXXFLAGS. Add few more warnings.
author zas_
date Mon, 19 May 2008 11:09:23 +0000
parents 631d626c1f6b
children bbe9cef644f8
files configure.in
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Mon May 19 09:27:30 2008 +0000
+++ b/configure.in	Mon May 19 11:09:23 2008 +0000
@@ -64,8 +64,8 @@
 
 if test "x${enable_debug}" != "xno"
 then
-  CXXFLAGS="${CXXFLAGS} -g -O0 -Wstrict-prototypes -Wunused-value -Wunused-variable -Wcomment -Wimplicit-int -Werror-implicit-function-declaration -Wmissing-braces -Wparentheses -Wreturn-type -Wswitch -Wstrict-aliasing -W"
-  CFLAGS="${CFLAGS} -g -O0 -Wstrict-prototypes -Wunused-value -Wunused-variable -Wcomment -Wimplicit-int -Werror-implicit-function-declaration -Wmissing-braces -Wparentheses -Wreturn-type -Wswitch -Wstrict-aliasing -W"
+  CXXFLAGS="${CXXFLAGS} -g -O0 -Wunused-value -Wunused-variable -Wunused-function -Wunused-label -Wcomment -Wmissing-braces -Wparentheses -Wreturn-type -Wswitch -Wstrict-aliasing -W"
+  CFLAGS="${CFLAGS} -g -O0 -Wstrict-prototypes -Wunused-value -Wunused-variable -Wunused-function -Wunused-label -Wcomment -Wimplicit-int -Werror-implicit-function-declaration -Wmissing-braces -Wparentheses -Wreturn-type -Wswitch -Wstrict-aliasing -W"
   AC_DEFINE(DEBUG,1,[Defined if Geeqie is compiled with debugging support])
   __IS_DEBUG=yes
 else