Re: [Cppunit-devel] msvc7 support
Brought to you by:
blep
From: Baptiste L. <gai...@fr...> - 2003-05-15 06:37:34
|
Thanks. I've made the necessary change to the msvc config header. It's now in the CVS. How did you get the 'namespace' bug. I have switched a project to VS 7 recently (rfta of http://cpptool.sf.net) and it compiles correctly, and it contains explicit reference to the CppUnit namespace. By the way (I'm a VS newbie), is there a way to get VS to show you the task error detail other than clicking on the output pane or using the tooltip ? Baptiste. ----- Original Message ----- From: "Andrey Melnikov" <mel...@si...> To: <cpp...@li...> Sent: Wednesday, May 14, 2003 9:29 PM Subject: [Cppunit-devel] msvc7 support > Hello > > I created VC7Outputter class to match format expected by Visual > Studio.NET (see VC7Outputter.h in attached ZIP file). The class require > CompilerOutputter::m_stream to be protected instead of private, so don't > forget to modify CompilerOutputter.h > > Also it seems there are no valid config for VC++ 7. How can I help with > them? > > Compiler detection: #if _MSC_VER >= 1300 (VC6 had _MSC_VER > 1000) > Output format: #define CPPUNIT_COMPILER_LOCATION_FORMAT "%p(%l): error : > " (VC7 had simply "%p(%l): " > > Messages in VC6 format are also parsed and clickable in VC7, but they > don't appear in Tasks window, only in Output window. > > Also all CPPUnit classes are put in global namespace despite namespases > are supported and CPPUNIT_HAVE_NAMESPACES is defined. > > Can somebody try to compile the attached project in Visual Studio .NET > and see if the new class is better than we have now with > CompilerOutputter? > > Andrey > |