]> https://gitweb.dealii.org/ - dealii.git/commitdiff
More docs on Intel ICC compiler, don't check for unistd.h any more as
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 17 May 2001 15:48:33 +0000 (15:48 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 17 May 2001 15:48:33 +0000 (15:48 +0000)
gethostname must be in that file if it exists and the test failed with
ICC's preprocessor due to some unknown reason (file was there but cpp
failed to process the file properly).

git-svn-id: https://svn.dealii.org/trunk@4657 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/configure.in

index bd2aa76b2e2c1d4421c71613d3241870c4a82a39..07496f5acd15d6cab7400fe7a02b305de6e9ade7 100644 (file)
@@ -256,8 +256,12 @@ else
     else
       
       if test "x$GXX_VERSION" = "xintel_icc" ; then
-        CXXFLAGSG="$CXXFLAGS -Kc++eh -Krtti -w1 -DDEBUG -inline_debug_info"
-        CXXFLAGSO="$CXXFLAGS -Kc++eh -Krtti -O2 -tpp6 -axiMK -ip -unroll -w"
+       dnl Disable some compiler warnings, as they often are wrong on
+       dnl out code:
+       dnl #175: subscript out of range (doesn't take into account that
+       dnl       some code is only reachable for some dimensions)
+        CXXFLAGSG="$CXXFLAGS -Kc++eh -Krtti -w1 -wd175 -DDEBUG -inline_debug_info"
+        CXXFLAGSO="$CXXFLAGS -Kc++eh -Krtti -O2 -tpp6 -axiMK -unroll -w0"
 
       else
 
@@ -285,7 +289,6 @@ dnl ======================================================================
 dnl Check for operating system properties like header files and
 dnl special functions.
 dnl ======================================================================
-AC_CHECK_HEADERS(unistd.h)
 AC_CHECK_FUNCS(gethostname)
 
 

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.