From 2d9337d29657bb97668a4a925b96ae12b39e9894 Mon Sep 17 00:00:00 2001 From: Guy Lichtman Date: Wed, 6 Mar 2013 18:59:16 +0200 Subject: [PATCH] issue #35. Wimplicit only with C and not C++ to support newer versions of gcc. --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) mode change 100644 => 100755 configure.ac diff --git a/configure.ac b/configure.ac old mode 100644 new mode 100755 index 8aa3da4..72e03c8 --- a/configure.ac +++ b/configure.ac @@ -88,7 +88,8 @@ AC_PATH_PROG(DIFF, diff, diff) #CPPFLAGS="$CPPFLAGS -DMYSQL_DYNAMIC_PLUGIN -DMYSQL_SERVER" #we can add the following flags for better error catching: -Werror -Wimplicit -CPPFLAGS="$CPPFLAGS -Werror -Wimplicit" +CPPFLAGS="$CPPFLAGS -Werror" +CFLAGS="$CFLAGS -Wimplicit" # From MySQL: Disable exceptions as they seams to create problems with gcc and threads. CXXFLAGS="-fno-implicit-templates -fno-exceptions -fno-rtti "