From 88a3f346bf3a4e16ae39687c76ff547262f95d72 Mon Sep 17 00:00:00 2001 From: prascle Date: Mon, 10 Jan 2005 08:24:26 +0000 Subject: [PATCH] PR:bug 7656 correction from Alexey PETROV --- salome_adm/unix/config_files/production.m4 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/salome_adm/unix/config_files/production.m4 b/salome_adm/unix/config_files/production.m4 index e3da0539b..dfa8b39e9 100644 --- a/salome_adm/unix/config_files/production.m4 +++ b/salome_adm/unix/config_files/production.m4 @@ -53,15 +53,15 @@ no) enable_production=no ;; esac], enable_production=AC_ENABLE_PRODUCTION_DEFAULT)dnl -# supprimer car ne marche qu'avec compilo gnu -# CXXVERSION=`$CXX --version` -# if test "X$CXXVERSION" != "X2.95.3"; then -# CXXFLAGS="${CXXFLAGS} -fmessage-length=0 " -# fi +AC_CXX_OPTION(-Wno-deprecated,CXXFLAGS) +AC_CXX_OPTION(-Wparentheses,CXXFLAGS) +AC_CXX_OPTION(-Wreturn-type,CXXFLAGS) +AC_CXX_OPTION(-Wmissing-declarations,CXXFLAGS) +AC_CXX_OPTION(-fmessage-length=0,CXXFLAGS) +AC_CXX_OPTION(-Wunused,CXXFLAGS) if test "X$enable_production" = "Xyes"; then CFLAGS="$CFLAGS -O" -# CXXFLAGS="$CXXFLAGS -O -Wuninitialized " AC_CXX_OPTION(-Wuninitialized,CXXFLAGS) CXXFLAGS="$CXXFLAGS -O " fi -- 2.39.2