Re: msvc7 support

"Baptiste Lepilleur" <[email protected]> Thu, 15 May 2003 08:41:59 +0200
Newsgroups gmane.comp.lib.cppunit.devel
Message-ID <00d601c31aad$16b63490$09da2cd5@gaia>
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" <[email protected]>
To: <[email protected]>
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
>



-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com