Committer: Mircea Gherzan <mircea.gherzan@xxxxxxxxxxxxxx> Date: 09/06/2010 at 16:51:11 Revision: 4743 Revision-id: mircea.gherzan@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Branch nick: trunk Log: Add inlining warnings to the compiler flags. On sane, non-embedded platforms the default config does not yield such warnings. Modified: M configure.ac === modified file 'configure.ac' --- configure.ac 2010-06-09 13:43:54 +0000 +++ configure.ac 2010-06-09 13:50:19 +0000 @@ -73,7 +73,7 @@ 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 -Wshadow") +AC_SUBST(AM_CFLAGS, "$AM_CFLAGS -Wwrite-strings -Wshadow -Winline") #TODO fix the code and get rid of this one @@ -94,7 +94,6 @@ [ac_cv_use_gcc_warn=yes]) if test x"$ac_cv_use_gcc_warn" = x"yes"; then AC_SUBST(AM_CFLAGS, "$AM_CFLAGS -Wcast-qual -Wno-error=cast-qual") - AC_SUBST(AM_CFLAGS, "$AM_CFLAGS -Winline -Wno-error=inline") fi AC_ARG_ENABLE(firewall,