You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-dev@logging.apache.org by ca...@apache.org on 2008/05/06 21:06:39 UTC

svn commit: r653884 - in /logging/log4cxx/trunk/src: changes/changes.xml test/cpp/logunit.h

Author: carnold
Date: Tue May  6 12:06:38 2008
New Revision: 653884

URL: http://svn.apache.org/viewvc?rev=653884&view=rev
Log:
LOGCXX-266: Eliminate extra semicolon warnings

Modified:
    logging/log4cxx/trunk/src/changes/changes.xml
    logging/log4cxx/trunk/src/test/cpp/logunit.h

Modified: logging/log4cxx/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/changes/changes.xml?rev=653884&r1=653883&r2=653884&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/changes/changes.xml (original)
+++ logging/log4cxx/trunk/src/changes/changes.xml Tue May  6 12:06:38 2008
@@ -25,6 +25,7 @@
 <release version="0.10.1" date="2008-XX-XX" description="Maintenance release">
 <action issue="LOGCXX-262">socketappendertestcase and xmlsocketappendertestcase not run</action>
 <action issue="LOGCXX-263">Bad link to log4cxx-dev archive</action>
+<action issue="LOGCXX-266">Eliminate Extra ";" ignored warnings</action>
 <action issue="LOGCXX-271">MDC::put will not overwrite existing key value pair</action>
 <action issue="LOGCXX-272">Apache log4cxx 0.10.1 release</action>
 <action issue="LOGCXX-275">Headers cannot be included with very strict warning settings</action>

Modified: logging/log4cxx/trunk/src/test/cpp/logunit.h
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/test/cpp/logunit.h?rev=653884&r1=653883&r2=653884&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/test/cpp/logunit.h (original)
+++ logging/log4cxx/trunk/src/test/cpp/logunit.h Tue May  6 12:06:38 2008
@@ -184,7 +184,7 @@
      private:                                         \
      class RegisterSuite {                            \
      public:                                          \
-        typedef TF ThisFixture;                       
+        typedef TF ThisFixture                       
         
 #define LOGUNIT_TEST(testName)          \
      class testName ## Registration {   \
@@ -195,7 +195,7 @@
         static void run(abts_case* tc, void*) { \
             LogUnit::runTest<ThisFixture>(tc, &ThisFixture::testName); \
         }                                       \
-    } register ## testName;
+    } register ## testName
 
 #define LOGUNIT_TEST_EXCEPTION(testName, Exception)  \
      class testName ## Registration {   \
@@ -206,7 +206,7 @@
         static void run(abts_case* tc, void*) { \
             LogUnit::runTestWithException<ThisFixture, Exception>(tc, &ThisFixture::testName); \
         }                                       \
-    } register ## testName;
+    } register ## testName
 
 
 #define LOGUNIT_TEST_SUITE_END() \
@@ -214,7 +214,9 @@
     public:                        \
     static void populateSuite() {         \
         static RegisterSuite registration; \
-    }
+    }                                      \
+    private:                               \
+    void nop()
     
 
 #define LOGUNIT_TEST_SUITE_REGISTRATION(TF) \