From a274f145422fe8f654934db98982d2fad00e87a1 Mon Sep 17 00:00:00 2001 From: adam Date: Wed, 25 Feb 2009 09:37:13 +0000 Subject: [PATCH] Remove -Wno-deprecated ! --- salome_adm/unix/config_files/ac_cxx_depend_flag.m4 | 2 +- salome_adm/unix/config_files/ac_cxx_warnings.m4 | 1 - salome_adm/unix/config_files/production.m4 | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/salome_adm/unix/config_files/ac_cxx_depend_flag.m4 b/salome_adm/unix/config_files/ac_cxx_depend_flag.m4 index b6e704b4f..3473cf26e 100644 --- a/salome_adm/unix/config_files/ac_cxx_depend_flag.m4 +++ b/salome_adm/unix/config_files/ac_cxx_depend_flag.m4 @@ -121,7 +121,7 @@ dnl sur CCRT/osf pas d'equivalent de l'option -MG de gcc avec compilo natif dnl on utilise donc gnu pour generer les dependances. DEPCC=gcc DEPCXX=g++ - DEPCXXFLAGS="-Wno-deprecated" + DEPCXXFLAGS= DIFFFLAGS="-w" dnl MACHINE="OSF1" ;; diff --git a/salome_adm/unix/config_files/ac_cxx_warnings.m4 b/salome_adm/unix/config_files/ac_cxx_warnings.m4 index 14d2cafa8..e9889795c 100644 --- a/salome_adm/unix/config_files/ac_cxx_warnings.m4 +++ b/salome_adm/unix/config_files/ac_cxx_warnings.m4 @@ -23,7 +23,6 @@ dnl @synopsis AC_CXX_WARNINGS dnl Check warning flags for C++ compiler to control warning messages dnl AC_DEFUN([AC_CXX_WARNINGS],[ - AC_CXX_OPTION(-Wno-deprecated,CXXFLAGS) AC_CXX_OPTION(-Wparentheses,CXXFLAGS) AC_CXX_OPTION(-Wreturn-type,CXXFLAGS) AC_CXX_OPTION(-Wmissing-declarations,CXXFLAGS) diff --git a/salome_adm/unix/config_files/production.m4 b/salome_adm/unix/config_files/production.m4 index e109a03dc..6664f951b 100644 --- a/salome_adm/unix/config_files/production.m4 +++ b/salome_adm/unix/config_files/production.m4 @@ -38,7 +38,6 @@ AC_ARG_ENABLE([production], ], [enable_production=]AC_ENABLE_PRODUCTION_DEFAULT) -AC_CXX_OPTION(-Wno-deprecated,CXXFLAGS) AC_CXX_OPTION(-Wparentheses,CXXFLAGS) AC_CXX_OPTION(-Wreturn-type,CXXFLAGS) AC_CXX_OPTION(-Wmissing-declarations,CXXFLAGS) -- 2.39.2