issue #35. Wimplicit only with C and not C++ to support newer versions of gcc.

pull/53/head
Guy Lichtman 2013-03-06 18:59:16 +02:00
parent b24e1913fa
commit 2d9337d296
1 changed files with 2 additions and 1 deletions

3
configure.ac Normal file → Executable file
View File

@ -88,7 +88,8 @@ AC_PATH_PROG(DIFF, diff, diff)
#CPPFLAGS="$CPPFLAGS -DMYSQL_DYNAMIC_PLUGIN -DMYSQL_SERVER" #CPPFLAGS="$CPPFLAGS -DMYSQL_DYNAMIC_PLUGIN -DMYSQL_SERVER"
#we can add the following flags for better error catching: -Werror -Wimplicit #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. # From MySQL: Disable exceptions as they seams to create problems with gcc and threads.
CXXFLAGS="-fno-implicit-templates -fno-exceptions -fno-rtti " CXXFLAGS="-fno-implicit-templates -fno-exceptions -fno-rtti "