-
I compile with (among other things) "-ansi -pedantic -Wmissing-declarations -Werror". The -pedantic forbids stray semicolons after non-class/struct blocks, and -Wmissing-declarations forbids free functions with external linkage that aren't declared before definition (generally candidates for static linkage). I had to make several following modifications in order to build CxxTest (patch...
2008-05-24 20:44:51 UTC in CxxTest
-
I ran into this as well... here's a workaround that supports actual/expected as NULL and adds 3 test cases to verify the new functionality.
Index: src/tests/TestChecks.cpp
===================================================================
--- src/tests/TestChecks.cpp (revision 186)
+++ src/tests/TestChecks.cpp (working copy)
@@ -70,6 +70,32 @@
CHECK_EQUAL (0...
2008-05-24 15:29:09 UTC in UnitTest++
-
I just ran into this issue too, using gcc 4.3.0. Same fix.
Index: src/tests/TestDeferredTestReporter.cpp
===================================================================
--- src/tests/TestDeferredTestReporter.cpp (revision 186)
+++ src/tests/TestDeferredTestReporter.cpp (working copy)
@@ -1,7 +1,7 @@
#include "../UnitTest++.h"
#include "../DeferredTestReporter.h"...
2008-05-24 15:13:38 UTC in UnitTest++