From de64ecbe66da098f19fb49c5e8e4dcd420f6350f Mon Sep 17 00:00:00 2001 From: deal Date: Thu, 24 Mar 2005 22:16:43 +0000 Subject: [PATCH] Guido was right that -strict_ansi is a nightmare. On some systems, icc apparently uses preinstalled gcc header files. No idea why it does so, but while it can compile them it can't do so when -strict_ansi is set -- the result is that basically nothing can be compiled with this flag... git-svn-id: https://svn.dealii.org/trunk@10241 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/aclocal.m4 | 4 +--- deal.II/configure | 5 ++--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index 1920e8ff7c..7747e7abcd 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -544,11 +544,9 @@ 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 - dnl 2/ to avoid the annoying `LOOP WAS VECTORIZED' remarks + dnl 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 diff --git a/deal.II/configure b/deal.II/configure index 5429ad8c82..7b859fe1d2 100755 --- a/deal.II/configure +++ b/deal.II/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 1.190 . +# From configure.in Revision: 1.191 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.59. # @@ -3403,8 +3403,7 @@ rm -f conftest.err conftest.$ac_objext conftest.$ac_ext if test "x$GXX_VERSION" = "xintel_icc7"; then CXXFLAGSG="$CXXFLAGSG -Xc -ansi" CXXFLAGSO="$CXXFLAGSO -ansi_alias" - else if test "x$GXX_VERSION" = "xintel_icc8" ; then - CXXFLAGSG="$CXXFLAGSG -strict_ansi" + else if test "x$GXX_VERSION" = "xintel_icc8" ; then CXXFLAGSO="$CXXFLAGSO -ansi_alias -vec_report0" fi fi -- 2.39.5