building on Windows with MinGW hits Cannot de

2008-09-12
2013-04-22
  • Roger I Martin
    Roger I Martin
    2008-09-12

    Trying to build on Windows with MinGW and it gets into the portability.h and the /portability/stream.h which then hits

    [code]
    #else // CPPUNIT_HAVE_CLASS_STRSTREAM
    #   error Cannot define CppUnit::OStringStream.
    #endif // #if defined( CPPUNIT_NO_STREAM )

    [/code]
    and fails.  Now I don't want to build with vc but it appears to assume that i would.  MingGW is coming along robust and there is even now 64 bit compiling mingw capabilities.

    How do I avoid this coded error without the total break (705 errors) that happens when CPPUNIT_NO_STREAM is defined?