Mimic autoconf behavior and enable -Wc++-compat by default.

svn path=/trunk/; revision=48992
This commit is contained in:
Jörg Mayer 2013-04-22 22:32:03 +00:00
parent 2a50c31800
commit 4f8cb5fdc3
1 changed files with 1 additions and 1 deletions

View File

@ -130,6 +130,7 @@ set(WIRESHARK_C_FLAGS
set(WIRESHARK_C_ONLY_FLAGS
# The following are C only, not C++
-Wc++-compat
-Wdeclaration-after-statement
-Wno-pointer-sign
-Wold-style-definition
@ -169,7 +170,6 @@ set(WIRESHARK_EXTRA_C_FLAGS
set(WIRESHARK_EXTRA_C_ONLY_FLAGS
# The following are C only, not C++
-Wbad-function-cast
-Wc++-compat
-Wjump-misses-init
# GLib blocks this for now.
-Wstrict-prototypes