From: Wolfgang Bangerth Date: Tue, 18 Jan 2005 15:22:09 +0000 (+0000) Subject: Reintroduce -strict_ansi as per discussion with Guido. We should try X-Git-Tag: v8.0.0~14615 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18f6bbc14922fe3ef7ed44ce992f6ac8389eb80a;p=dealii.git Reintroduce -strict_ansi as per discussion with Guido. We should try to isolate individual problems and only disable this flag where necessary. git-svn-id: https://svn.dealii.org/trunk@9875 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index 0dd3b8a52b..251fbe7f87 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -487,10 +487,11 @@ AC_DEFUN(DEAL_II_SET_CXX_FLAGS, dnl CXXFLAGSG="$CXXFLAGSG -Xc -ansi" CXXFLAGSO="$CXXFLAGSO -ansi_alias" dnl For icc8: - dnl 1/ set most pickiest check: strict_ansi (removed due to problems (GK)) + dnl 1/ set most pickiest check: strict_ansi dnl 2/ to avoid the annoying `LOOP WAS VECTORIZED' remarks dnl use -vec_report0 for reducing output else if test "x$GXX_VERSION" = "xintel_icc8" ; then + CXXFLAGSG="$CXXFLAGSG -strict_ansi" CXXFLAGSO="$CXXFLAGSO -ansi_alias -vec_report0" fi fi