FW: msvc7 support

"Andrey Melnikov" <[email protected]> Thu, 15 May 2003 11:55:38 +0300
Newsgroups gmane.comp.lib.cppunit.devel
Message-ID <000001c31abf$c1c2a320$8100a8c0@local>
If anyone has already replied to this message, can he/she send the reply
again. I occasionally deleted some messages I received :(

-----Original Message-----
From: Andrey Melnikov [mailto:[email protected]] 
Sent: Wednesday, May 14, 2003 10:29 PM
To: '[email protected]'
Subject: 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