]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Guido was right that -strict_ansi is a nightmare. On some systems, icc
authordeal <deal@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 24 Mar 2005 22:16:43 +0000 (22:16 +0000)
committerdeal <deal@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 24 Mar 2005 22:16:43 +0000 (22:16 +0000)
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
deal.II/configure

index 1920e8ff7c7d4f60580ba75b28a07eb826dd9e94..7747e7abcd1b3b31fb316d746d4d692745f5b0d2 100644 (file)
@@ -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
        
index 5429ad8c82ad6075c3316121a6ba323b4c27b205..7b859fe1d2ff5ff8cdb0e99155432f9189c6d20c 100755 (executable)
@@ -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
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.