Author: carnold
Date: Thu Nov 8 12:48:44 2007
New Revision: 593298
URL: http://svn.apache.org/viewvc?rev=593298&view=rev
Log:
LOGCXX-150: logstream's operator<< namespace issue
Modified:
logging/log4cxx/trunk/src/test/cpp/streamtestcase.cpp
Modified: logging/log4cxx/trunk/src/test/cpp/streamtestcase.cpp
URL:
http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/test/cpp/streamtestcase.cpp?rev=593298&r1=593297&r2=593298&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/test/cpp/streamtestcase.cpp (original)
+++ logging/log4cxx/trunk/src/test/cpp/streamtestcase.cpp Thu Nov 8 12:48:44
2007
@@ -405,11 +405,12 @@
CPPUNIT_TEST_SUITE_REGISTRATION(StreamTestCase);
+#if !LOG4CXX_USE_GLOBAL_SCOPE_TEMPLATE
//
// The following code tests compilation errors
// around bug LOGCXX-150 and is not intended to be executed.
-//
-
+// Skipped for VC6 since it can't handle having the
+// templated operator<< in class scope.s
namespace foo
{
class Bar
@@ -436,4 +437,5 @@
{
lout << "hi" << LOG4CXX_ENDMSG;
}
+#endif