From 8622410203449feefa8565fe31f1aea90be3c79c Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 13 Feb 2013 01:44:41 +0000 Subject: [PATCH] Disable one more ICC warning. git-svn-id: https://svn.dealii.org/trunk@28354 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/aclocal.m4 | 7 +++++-- deal.II/configure | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index a5e553a871..d8125f52be 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -772,6 +772,9 @@ AC_DEFUN(DEAL_II_SET_CXX_FLAGS, dnl 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 #279: `controlling expression is constant' (this happens + dnl in assertions placed into dead code branches such as + dnl "Assert (false, ...)" dnl #327: `NULL reference is not allowed' (this happens when we dnl write "*static_cast(0)" or some such thing, dnl which we do to create invalid references) @@ -787,8 +790,8 @@ AC_DEFUN(DEAL_II_SET_CXX_FLAGS, dnl dnl #1565: attributes are ignored on a class declaration that is not dnl also a definition (this happens in BOOST in a number of dnl places) - CXXFLAGSG="$CXXFLAGSG -w1 -wd175 -wd525 -wd327 -wd424 -wd11 -wd734 -wd858 -wd1565" - CXXFLAGSO="$CXXFLAGSO -w0 -wd424 -wd11" + CXXFLAGSG="$CXXFLAGSG -w1 -wd175 -wd279 -wd525 -wd327 -wd424 -wd11 -wd734 -wd858 -wd1565" + CXXFLAGSO="$CXXFLAGSO -w0 -wd175 -wd424 -wd11" dnl To reduce output, use -opt_report_levelmin where possible, dnl i.e. post icc5. from icc10 onwards, this flag is called diff --git a/deal.II/configure b/deal.II/configure index d82df09718..8963097594 100755 --- a/deal.II/configure +++ b/deal.II/configure @@ -4919,8 +4919,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;; esac - CXXFLAGSG="$CXXFLAGSG -w1 -wd175 -wd525 -wd327 -wd424 -wd11 -wd734 -wd858 -wd1565" - CXXFLAGSO="$CXXFLAGSO -w0 -wd424 -wd11" + CXXFLAGSG="$CXXFLAGSG -w1 -wd175 -wd279 -wd525 -wd327 -wd424 -wd11 -wd734 -wd858 -wd1565" + CXXFLAGSO="$CXXFLAGSO -w0 -wd175 -wd424 -wd11" case "$GXX_VERSION" in intel_icc5) -- 2.39.5