forked from osmocom/wireshark
Allow -Wmissing-prototypes only for C
It should fix: cc1plus: warning: command line option `-Wmissing-prototypes' is valid for Ada/C/ObjC but not for C++ [enabled by default] (only g++ complains, clang is OK with -Wmissing-prototypes) svn path=/trunk/; revision=54086
This commit is contained in:
parent
5c79cbf152
commit
53f438b4ed
|
@ -801,7 +801,7 @@ AC_ARG_ENABLE(extra-gcc-checks,
|
|||
#
|
||||
# All the registration functions block these for now.
|
||||
#
|
||||
AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wmissing-prototypes)
|
||||
AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wmissing-prototypes, C)
|
||||
AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wmissing-declarations)
|
||||
#
|
||||
# A bunch of "that might not work on SPARC" code blocks
|
||||
|
|
Loading…
Reference in New Issue