From: wolf Date: Thu, 17 May 2001 15:48:33 +0000 (+0000) Subject: More docs on Intel ICC compiler, don't check for unistd.h any more as X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75d93f235ce056f7fcc610fb50423c4583d170c5;p=dealii-svn.git More docs on Intel ICC compiler, don't check for unistd.h any more as 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 --- diff --git a/deal.II/configure.in b/deal.II/configure.in index bd2aa76b2e..07496f5acd 100644 --- a/deal.II/configure.in +++ b/deal.II/configure.in @@ -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)