[Cppunit-devel] Dazed and confused a 15 char string breaks cppunit
Brought to you by:
blep
From: Philippe L. <phi...@ca...> - 2002-06-20 16:49:01
|
Hi all, The following assert works in every project I tested CPPUNIT_ASSERT_MESSAGE("012345678901234",true); The following assert works in every project I tested except mine... CPPUNIT_ASSERT_MESSAGE("0123456789012345",true); When it breaks... it breaks, it does an assertion error. I really have = no idea what is going on. I've checked the properties for my project, vs = the properties for projects that work without problems and I can't find = what is different. I can't find a different define. I can't find any = substantical differences. The only clue I have about the problem is that the following warning = only shows for my project and doesn't show for any other projects. c:\build\Include\cppunit\SourceLine.h(51) : warning C4251: = 'CppUnit::SourceLine::m_fileName' : class = 'std::basic_string<_Elem,_Traits,_Ax>' needs to have dll-interface to be = used by clients of class 'CppUnit::SourceLine' with [ _Elem=3Dchar, _Traits=3Dstd::char_traits<char>, _Ax=3Dstd::allocator<char> ] c:\build\Include\cppunit\Exception.h(18) : warning C4275: non = dll-interface class 'exception' used as base for dll-interface class = 'CppUnit::Exception' h:\Program Files\Microsoft Visual Studio = .NET\Vc7\include\exception(27) : see declaration of 'exception' h:\acuraci\Atlantic\build\Include\cppunit\Exception.h(17) : see = declaration of 'CppUnit::Exception' c:\build\Include\cppunit\Exception.h(73) : warning C4251: = 'CppUnit::Exception::m_message' : class = 'std::basic_string<_Elem,_Traits,_Ax>' needs to have dll-interface to be = used by clients of class 'CppUnit::Exception' with [ _Elem=3Dchar, _Traits=3Dstd::char_traits<char>, _Ax=3Dstd::allocator<char> ] c:\build\Include\cppunit\TestCase.h(50) : warning C4251: = 'CppUnit::TestCase::m_name' : class = 'std::basic_string<_Elem,_Traits,_Ax>' needs to have dll-interface to be = used by clients of class 'CppUnit::TestCase' with [ _Elem=3Dchar, _Traits=3Dstd::char_traits<char>, _Ax=3Dstd::allocator<char> ] Please Help Phil PS I'm using VS7.0 |