From 53f438b4ed36a518a7ebac91c018337e5b4c22ed Mon Sep 17 00:00:00 2001 From: Jakub Zawadzki Date: Sat, 14 Dec 2013 10:43:29 +0000 Subject: 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 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index beecdbfcd7..69884ecc51 100644 --- a/configure.ac +++ b/configure.ac @@ -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 -- cgit v1.2.3