Tom Barta

Show:

What's happening?

  • build with gcc 4.3 using strict compiler settings

    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

  • Comment: CHECK_EQUAL() explodes if actual==NULL

    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++

  • Comment: TestDeferredTestReporter.cpp should include <cstring>

    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++

About Me

  • 2008-05-24 (1 year ago)
  • 2097271
  • tbarta (My Site)
  • Tom Barta

Send me a message