does not compile with GCC 3.4.3
With thsit compiler when inheriting from a template class, its members are not directly visible from the inherited class.
It is necessary to put complete scope.
Here is the patch that fixes the problem.
Would be nice to have it integrated in the next release.
Many thanks for your help,
diff -Naur tmp_unpack/cppunit-1.10.2.orig/examples/hierarchy/ChessTest.h cppuni\
--- tmp_unpack/cppunit-1.10.2.orig/examples/hierarchy/ChessTest.h 2002-07\
-10 18:50:02.000000000 +0000
+++ cppunit-1.10.2/examples/hierarchy/ChessTest.h 2005-11-17 23:15:49.833\
@@ -16,7 +16,7 @@
- CPPUNIT_ASSERT( m_game->getNumberOfPieces () == 32 );
+ CPPUNIT_ASSERT( BoardGameTest<GAMECLASS>::m_game->getNumberOfPieces () == \
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.