From 48b295549393bfae4df44ff1bab90772bd3e52f1 Mon Sep 17 00:00:00 2001 From: bangerth Date: Tue, 28 Apr 2009 20:47:33 +0000 Subject: [PATCH] Take patch 18773 from mainline: Hopefully last tweak: don't assume that we are in fact using a compiler that has -Wctor-dtor-privacy. git-svn-id: https://svn.dealii.org/branches/releases/Branch-6-2@18775 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/aclocal.m4 | 2 +- deal.II/configure | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index 5cb9799ddf..b14307a0b0 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -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 diff --git a/deal.II/configure b/deal.II/configure index f3563cc071..059596d915 100755 --- a/deal.II/configure +++ b/deal.II/configure @@ -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 -- 2.39.5