From 1e2e43bc5480673cb166fe37260535aaeff83bce Mon Sep 17 00:00:00 2001 From: prascle Date: Fri, 6 Jun 2003 07:14:12 +0000 Subject: [PATCH] PR: suppress warnings with gcc 3.2 to check OK --- salome_adm/unix/config_files/check_cas.m4 | 4 ++-- salome_adm/unix/config_files/check_vtk.m4 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/salome_adm/unix/config_files/check_cas.m4 b/salome_adm/unix/config_files/check_cas.m4 index d9ed67366..e8410246d 100644 --- a/salome_adm/unix/config_files/check_cas.m4 +++ b/salome_adm/unix/config_files/check_cas.m4 @@ -59,7 +59,7 @@ if test "x$occ_ok" = "xyes"; then dnl cascade headers CPPFLAGS_old="$CPPFLAGS" - CPPFLAGS="$CPPFLAGS -DLIN -DLINTEL -DCSFDB -DNO_CXX_EXCEPTION -DNo_exception -I$CASROOT/inc" + CPPFLAGS="$CPPFLAGS -DLIN -DLINTEL -DCSFDB -DNO_CXX_EXCEPTION -DNo_exception -I$CASROOT/inc -Wno-deprecated" CXXFLAGS_old="$CXXFLAGS" CXXFLAGS="$CXXFLAGS -funsigned-char" @@ -77,7 +77,7 @@ if test "x$occ_ok" = xyes ; then AC_MSG_CHECKING(for OpenCascade libraries) CPPFLAGS_old="$CPPFLAGS" - CPPFLAGS="$CPPFLAGS $CAS_CPPFLAGS" + CPPFLAGS="$CPPFLAGS $CAS_CPPFLAGS -Wno-deprecated" CXXFLAGS_old="$CXXFLAGS" CXXFLAGS="$CXXFLAGS $CAS_CXXFLAGS" LIBS_old="$LIBS" diff --git a/salome_adm/unix/config_files/check_vtk.m4 b/salome_adm/unix/config_files/check_vtk.m4 index c66d795f8..168767468 100644 --- a/salome_adm/unix/config_files/check_vtk.m4 +++ b/salome_adm/unix/config_files/check_vtk.m4 @@ -42,7 +42,7 @@ fi dnl vtk headers CPPFLAGS_old="$CPPFLAGS" -CPPFLAGS="$CPPFLAGS $LOCAL_INCLUDES" +CPPFLAGS="$CPPFLAGS $LOCAL_INCLUDES -Wno-deprecated" AC_CHECK_HEADER(vtk.h,vtk_ok="yes",vtk_ok="no") @@ -60,7 +60,7 @@ dnl vtk libraries # LIBS="$LIBS $TRY_LINK_LIBS" LIBS="$LIBS $LOCAL_LIBS" CPPFLAGS_old="$CPPFLAGS" - CPPFLAGS="$CPPFLAGS $VTK_INCLUDES" + CPPFLAGS="$CPPFLAGS $VTK_INCLUDES -Wno-deprecated" dnl VTKPY_MODULES="$VTKHOME/python" -- 2.39.2