From: deal Date: Fri, 30 May 2003 19:50:24 +0000 (+0000) Subject: Add a non-private member to one test, since otherwise we get a warning X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4569fd129e9fd53d61af792c5e523db9928f35fa;p=dealii-svn.git Add a non-private member to one test, since otherwise we get a warning from the compiler, which is converted to an error if -Werror is used as CXXFLAGS, which in turn makes the test fail, which in turn triggers an entirely unrelated bug in the compiler at a place that we really do not even have to look at if the result of the compiler were correct. git-svn-id: https://svn.dealii.org/trunk@7693 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index 32fec106ff..8380c06f14 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -2180,6 +2180,7 @@ dnl the DR says that this is allowed, since member classes are dnl implicitly also friends: dnl ----------------------------- dnl struct X { +dnl X (); dnl private: dnl static int f(); dnl @@ -2202,6 +2203,7 @@ AC_DEFUN(DEAL_II_CHECK_NESTED_CLASS_FRIEND_BUG, dnl AC_TRY_COMPILE( [ struct X { + X (); private: static int f();