Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#66 Unused variable warnings from TestPlugIn.h

open
nobody
None
5
2009-12-11
2009-12-11
Stephan Bergmann
No

Compilers warn about unused variables (from the main resp. DllMain function definitions from CPPUNIT_PLUGIN_IMPLEMENT_MAIN) when client code includes TestPlugIn.h from CppUnit 1.12.1 and use CPPUNIT_PLUGIN_IMPLEMENT. The attached warnings.patch suppresses those warnings. (However, it is unclear to me why at all CPPUNIT_PLUGIN_IMPLEMENT wants to define a main function or a trivial DllMain.)

Discussion

  • suppress warnings about unused variables from TestPlugIn.h

     
    Attachments