From: wolf Date: Thu, 20 Feb 2003 16:27:03 +0000 (+0000) Subject: Disable same warning for icc as for cxx previously (both EDG based, X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=829e2ffc5603ed613f2e8193624248b49e92cd4f;p=dealii-svn.git 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 --- 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"