# HG changeset patch # User Stu Tomlinson # Date 1177765096 0 # Node ID 60f9ac8421ef04c5fd1581163e4218d0f86a06b4 # Parent 467698ab6bf075c9767fc3f725c3efef22b8729b Add a couple more CFLAGS to highlight some more warnings and change how we specify FORTIFY_SOURCE, I think this is more correct diff -r 467698ab6bf0 -r 60f9ac8421ef configure.ac --- a/configure.ac Sat Apr 28 10:07:22 2007 +0000 +++ b/configure.ac Sat Apr 28 12:58:16 2007 +0000 @@ -850,10 +850,12 @@ "-Waggregate-return" \ "-Wcast-align" \ "-Wdeclaration-after-statement" \ + "-Wendif-labels" \ "-Werror-implicit-function-declaration" \ "-Wextra -Wno-sign-compare -Wno-unused-parameter" \ "-Winit-self" \ "-Wmissing-declarations" \ + "-Wmissing-noreturn" \ "-Wmissing-prototypes" \ "-Wnested-externs" \ "-Wpointer-arith" \ @@ -890,7 +892,7 @@ } ], [ AC_MSG_RESULT(yes) - DEBUG_CFLAGS="$DEBUG_CFLAGS -D_FORTIFY_SOURCE=2" + DEBUG_CFLAGS="$DEBUG_CFLAGS -Wp,-D_FORTIFY_SOURCE=2" ], [ AC_MSG_RESULT(no) ])