diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2009-12-21 07:59:12 +0000 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2009-12-21 07:59:12 +0000 |
commit | 94c89a57289fe820bd45d3c023eca4d77c4543a4 (patch) | |
tree | 26da6e202cf194b4259d3da5027802c9a6b028fe | |
parent | 78ab5c5f87fb4c3dbd014f86f2f340cac7b76109 (diff) |
remove -Wunreachable-code because it was turning up too many false positives (our use of macros, system string functions, etc)
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1033 ef36b2f9-881f-0410-afb5-c4e39611909c
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index ef98015..6943fa4 100644 --- a/configure.ac +++ b/configure.ac @@ -77,7 +77,7 @@ AC_ARG_ENABLE(warnings, [enable extra compiler warnings (gcc)]), [if test "x$enableval" != "no" then - CFLAGS="$CFLAGS -pedantic -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Waggregate-return -Wmissing-declarations -Wunused -Wformat=2 -Wswitch-default -Wswitch-enum -Wfloat-equal -Wbad-function-cast -Wunreachable-code -Wredundant-decls" + CFLAGS="$CFLAGS -pedantic -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Waggregate-return -Wmissing-declarations -Wunused -Wformat=2 -Wswitch-default -Wswitch-enum -Wfloat-equal -Wbad-function-cast -Wredundant-decls" DESIRED_CFLAGS="$DESIRED_CFLAGS -Wextra -Wdeclaration-after-statement -Werror-implicit-function-declaration" fi]) test_gcc_flag() { |