From: Kern Sibbald Date: Sun, 27 Dec 2015 13:20:45 +0000 (+0100) Subject: Fix CLANG warning messages -- fixes bug #2090 X-Git-Tag: Release-7.4.0~79 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5c7c80ce95734ea1fd0eee81d492cbf57b70f2e0;p=bacula%2Fbacula Fix CLANG warning messages -- fixes bug #2090 --- diff --git a/bacula/autoconf/configure.in b/bacula/autoconf/configure.in index 39a94cf07e..0ee1bb63c9 100644 --- a/bacula/autoconf/configure.in +++ b/bacula/autoconf/configure.in @@ -1460,7 +1460,7 @@ AC_ARG_WITH(db_ssl_options, AC_HELP_STRING([--with-db-ssl-options=DBSSLOPTIONS], [specify SSL options for database user connection @<:@default=null@:>@]), [ if test "x$withval" != "x" ; then - db_ssl_options=$withval + db_ssl_options=$withval fi ] ) @@ -2901,7 +2901,7 @@ CFLAGS=${CFLAGS--O} if test x$have_gcc = xyes ; then CPPFLAGS="$CPPFLAGS -fno-strict-aliasing -fno-exceptions -fno-rtti" - CFLAGS="$CFLAGS -fno-strict-aliasing -fno-exceptions -fno-rtti" + CFLAGS="$CFLAGS -x c++ -fno-strict-aliasing -fno-exceptions -fno-rtti" fi LDFLAGS=${LDFLAGS--O} CPPFLAGS="$CPPFLAGS"