]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Also disable clang warnings when in optimized mode, since some of them are apparently...
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 21 Aug 2011 04:31:54 +0000 (04:31 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 21 Aug 2011 04:31:54 +0000 (04:31 +0000)
git-svn-id: https://svn.dealii.org/trunk@24163 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/aclocal.m4
deal.II/configure

index b9855f0fe26d009f2d816fec34a8964fa624fdaa..48d654d5cd9c1acef2ec35e0e8fe8f7747c944e6 100644 (file)
@@ -640,7 +640,7 @@ AC_DEFUN(DEAL_II_SET_CXX_FLAGS, dnl
          dnl be worked around and that are definitely not useful. Suppress
          dnl those too.
           CXXFLAGSG="$CXXFLAGS -DDEBUG -g -Wall -Wno-array-bounds -Wno-parentheses -Wno-delete-non-virtual-dtor -Wno-unneeded-internal-declaration -Wno-unused-function -Wno-unused-variable"
-          CXXFLAGSO="$CXXFLAGS -O2"
+          CXXFLAGSO="$CXXFLAGS -O2 -Wno-array-bounds -Wno-parentheses -Wno-delete-non-virtual-dtor -Wno-unneeded-internal-declaration -Wno-unused-function -Wno-unused-variable"
          CXXFLAGSPIC="-fPIC"
          LDFLAGSPIC="-fPIC"
          ;;
index 42699cdac339aebeb1369af5b0a0f9bb340a8668..fea4c7977de5a58eea1ba531019200d888aaf49d 100755 (executable)
@@ -4675,8 +4675,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
           ;;
 
       clang*)
-                                   CXXFLAGSG="$CXXFLAGS -DDEBUG -g -Wall -Wno-array-bounds -Wno-parentheses -Wno-delete-non-virtual-dtor -Wno-unneeded-internal-declaration -Wno-unused-function -Wno-unused-variable"
-          CXXFLAGSO="$CXXFLAGS -O2"
+                                                                   CXXFLAGSG="$CXXFLAGS -DDEBUG -g -Wall -Wno-array-bounds -Wno-parentheses -Wno-delete-non-virtual-dtor -Wno-unneeded-internal-declaration -Wno-unused-function -Wno-unused-variable"
+          CXXFLAGSO="$CXXFLAGS -O2 -Wno-array-bounds -Wno-parentheses -Wno-delete-non-virtual-dtor -Wno-unneeded-internal-declaration -Wno-unused-function -Wno-unused-variable"
          CXXFLAGSPIC="-fPIC"
          LDFLAGSPIC="-fPIC"
          ;;

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.