]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
PR: suppress warnings with gcc 3.2 to check OK
authorprascle <prascle>
Fri, 6 Jun 2003 07:14:12 +0000 (07:14 +0000)
committerprascle <prascle>
Fri, 6 Jun 2003 07:14:12 +0000 (07:14 +0000)
salome_adm/unix/config_files/check_cas.m4
salome_adm/unix/config_files/check_vtk.m4

index d9ed67366a00050980ca2052f4669dda9de19f3c..e8410246dfdf51dfff03f7304db26df55a55e952 100644 (file)
@@ -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"
index c66d795f8392dab4f1142de9afde3a57187e6db4..1687674687089018693eb80ea9ab1132094ecd65 100644 (file)
@@ -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"