RE: msvc7 support

"Andrey Melnikov" <[email protected]> Fri, 16 May 2003 15:32:54 +0300
Newsgroups gmane.comp.lib.cppunit.devel
Message-ID <000001c31ba7$463dced0$8100a8c0@local>
Fortunately, "Namespace" bug was in Visual Studio IDE, not in CppUnit
itself. class ExampleTestCase : public CppUnit::TestCase compiles fine,
but IDE claims that the namespace doesn't exist, and doesn't want to
suggest list of classes when you type "CppUnit::". I think this is a bug
in Intellisense subsystem of IDE (Intellisense provides autocompletion
for identifiers, shows tooltip with declaration of identifier etc). 

Andrey

-----Original Message-----
From: cppunit-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
[mailto:cppunit-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Baptiste
Lepilleur
Sent: Thursday, May 15, 2003 9:42 AM
To: [email protected]
Subject: Re: [Cppunit-devel] msvc7 support


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

_______________________________________________
Cppunit-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cppunit-devel




-------------------------------------------------------
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