diff options
author | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2004-06-10 10:44:32 +0000 |
---|---|---|
committer | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2004-06-10 10:44:32 +0000 |
commit | 515fcdf21eea7e794e06e1afd54214f13be4bc4b (patch) | |
tree | 9e3995e9d7217257fcf6cad968d42ee0e3ad95c5 /lib/make/configure.in | |
parent | 64734b29d9ca22d5e888ac01b8995b811618230c (diff) |
Took out '-Wbad-function-cast' and '-Wmissing-declarations' from default
setting for CXX_WARN_FLAGS. According to g++, these are valid warning flags
for C/ObjC but not for C++.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3766 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/configure.in')
-rw-r--r-- | lib/make/configure.in | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/make/configure.in b/lib/make/configure.in index 76d76995..5fdff9c2 100644 --- a/lib/make/configure.in +++ b/lib/make/configure.in @@ -918,11 +918,7 @@ AC_SUBST(CXX_WARN_FLAGS) if test -z "$CXX_WARN_FLAGS" ; then case "$CXX" in c++ | g++) - if test "$CC" = 'gcc'; then - CXX_WARN_FLAGS='$(C_WARN_FLAGS) -Woverloaded-virtual' - else - CXX_WARN_FLAGS='-Wall -W -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wmissing-prototypes -Winline -Woverloaded-virtual' - fi + CXX_WARN_FLAGS='-Wall -W -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Winline -Woverloaded-virtual' ;; *) # Not sure what should be a reasonable default. |