building on Windows with MinGW hits Cannot de

  • Roger I Martin
    Roger I Martin

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

    #   error Cannot define CppUnit::OStringStream.
    #endif // #if defined( CPPUNIT_NO_STREAM )

    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?