Committer: Mircea Gherzan <mircea.gherzan@xxxxxxxxxxxxxx> Date: 18/05/2010 at 01:09:28 Revision: 4548 Revision-id: mircea.gherzan@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Branch nick: trunk Log: Add the -Wshadow flag and _temporarily_ disable -Wall. Modified: M configure.ac === modified file 'configure.ac' --- configure.ac 2010-05-17 19:04:21 +0000 +++ configure.ac 2010-05-17 22:05:16 +0000 @@ -66,11 +66,11 @@ # Set default AM_CFLAGS for the complete project. -AC_SUBST(AM_CFLAGS, "-std=c99 -Werror -Wall") +AC_SUBST(AM_CFLAGS, "-std=c99 -Wall") AC_SUBST(AM_CFLAGS, "$AM_CFLAGS -Wredundant-decls -Wdisabled-optimization") AC_SUBST(AM_CFLAGS, "$AM_CFLAGS -Wundef -Wstrict-prototypes -Wmissing-prototypes") AC_SUBST(AM_CFLAGS, "$AM_CFLAGS -Wno-deprecated-declarations -Wpointer-arith") -AC_SUBST(AM_CFLAGS, "$AM_CFLAGS -Wwrite-strings") +AC_SUBST(AM_CFLAGS, "$AM_CFLAGS -Wwrite-strings -Wshadow") #TODO fix the code and get rid of this one AC_SUBST(AM_CFLAGS, "$AM_CFLAGS -fno-strict-aliasing")