]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add a non-private member to one test, since otherwise we get a warning
authordeal <deal@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 30 May 2003 19:50:24 +0000 (19:50 +0000)
committerdeal <deal@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 30 May 2003 19:50:24 +0000 (19:50 +0000)
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

deal.II/aclocal.m4

index 32fec106ff2b5a13cc495be2b4351732e63c1e54..8380c06f14d1b615246ac22b7408d962e8c40fe7 100644 (file)
@@ -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();
            

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.