From 829e2ffc5603ed613f2e8193624248b49e92cd4f Mon Sep 17 00:00:00 2001 From: wolf Date: Thu, 20 Feb 2003 16:27:03 +0000 Subject: [PATCH] Disable same warning for icc as for cxx previously (both EDG based, after all) git-svn-id: https://svn.dealii.org/trunk@7205 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/aclocal.m4 | 6 ++++-- deal.II/configure | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index 42d5b20948..762594a489 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -365,6 +365,8 @@ AC_DEFUN(DEAL_II_SET_CXX_FLAGS, dnl intel_icc*) dnl Disable some compiler warnings, as they often are wrong on dnl our code: + dnl #11: ` unrecognized preprocessing directive" (we use + dnl #warning at one place) dnl #175: `subscript out of range' (doesn't take into account that dnl some code is only reachable for some dimensions) dnl #327: `NULL reference is not allowed' (this happens when we @@ -374,8 +376,8 @@ AC_DEFUN(DEAL_II_SET_CXX_FLAGS, dnl dnl #525: `type "DataOutBase::DataOutBase" is an inaccessible type dnl (allowed for compatibility)' (I don't understand what the dnl compiler means) - CXXFLAGSG="$CXXFLAGS -Kc++eh -Krtti -w1 -wd175 -wd525 -wd327 -wd424 -DDEBUG -inline_debug_info" - CXXFLAGSO="$CXXFLAGS -Kc++eh -Krtti -O2 -ip -unroll -w0 -wd424" + CXXFLAGSG="$CXXFLAGS -Kc++eh -Krtti -w1 -wd175 -wd525 -wd327 -wd424 -wd11 -DDEBUG -inline_debug_info" + CXXFLAGSO="$CXXFLAGS -Kc++eh -Krtti -O2 -ip -unroll -w0 -wd424 -wd11" CXXFLAGSPIC="-KPIC" LDFLAGSPIC="-KPIC -shared" diff --git a/deal.II/configure b/deal.II/configure index 562f25134e..3434254630 100755 --- a/deal.II/configure +++ b/deal.II/configure @@ -3039,8 +3039,8 @@ rm -f conftest.$ac_objext conftest.$ac_ext ;; intel_icc*) - CXXFLAGSG="$CXXFLAGS -Kc++eh -Krtti -w1 -wd175 -wd525 -wd327 -wd424 -DDEBUG -inline_debug_info" - CXXFLAGSO="$CXXFLAGS -Kc++eh -Krtti -O2 -ip -unroll -w0 -wd424" + CXXFLAGSG="$CXXFLAGS -Kc++eh -Krtti -w1 -wd175 -wd525 -wd327 -wd424 -wd11 -DDEBUG -inline_debug_info" + CXXFLAGSO="$CXXFLAGS -Kc++eh -Krtti -O2 -ip -unroll -w0 -wd424 -wd11" CXXFLAGSPIC="-KPIC" LDFLAGSPIC="-KPIC -shared" -- 2.39.5