From: prascle Date: Mon, 3 Nov 2003 15:16:27 +0000 (+0000) Subject: PR: -Wno_deprecated needed in mandrake 9.0 for check ok X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=82fcc73c317b0bdde9c7aeb6471b1108fef3ab45;p=modules%2Fkernel.git PR: -Wno_deprecated needed in mandrake 9.0 for check ok --- diff --git a/salome_adm/unix/config_files/check_cas.m4 b/salome_adm/unix/config_files/check_cas.m4 index 26af611ba..405cefa83 100644 --- a/salome_adm/unix/config_files/check_cas.m4 +++ b/salome_adm/unix/config_files/check_cas.m4 @@ -89,7 +89,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" @@ -107,7 +107,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"