]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Hopefully last tweak: don't assume that we are in fact using a compiler that has...
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 28 Apr 2009 20:46:27 +0000 (20:46 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 28 Apr 2009 20:46:27 +0000 (20:46 +0000)
git-svn-id: https://svn.dealii.org/trunk@18774 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 5cb9799ddf1d3bba67a50bc33b8dc11fc12a724d..b14307a0b09f7ad8a60a2b41f89136375c211dfa 100644 (file)
@@ -4346,7 +4346,7 @@ AC_DEFUN(DEAL_II_CHECK_CTOR_DTOR_PRIVACY, dnl
   if test "x$GXX" = "xyes" ; then
     AC_MSG_CHECKING(for problem with -Wctor-dtor-privacy)
     AC_LANG(C++)
-    CXXFLAGS="-Wctor-dtor-privacy -Werror"
+    CXXFLAGS="$CXXFLAGSG -Werror"
     AC_TRY_COMPILE(
       [
         template <typename T>
index d615c02bdcdd6fcafc9c0d18fcffa9da2504ebff..1cd37a3fc59586a96bca5c35c18ad77aa4ad5c1a 100755 (executable)
@@ -8242,7 +8242,7 @@ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-    CXXFLAGS="-Wctor-dtor-privacy -Werror"
+    CXXFLAGS="$CXXFLAGSG -Werror"
     cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF

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.