Re: msvc7 support

"Baptiste Lepilleur" <[email protected]> Sat, 17 May 2003 21:20:57 +0200
Newsgroups gmane.comp.lib.cppunit.devel
Message-ID <032a01c31ca9$72543d80$09da2cd5@gaia>
Glad to hear that it was just the intellisense getting confused (probably by
the CPPUNIT_NS macro).

I've made a new unoffical tar ball. You can get it at:
http://cppunit.sourceforge.net/snapshot/cppunit-1.9.11-portability-test3.tar.gz

Notes that you can also obtain a daily backup of the cvs repository at:
http://cvs.sourceforge.net/cvstarballs/cppunit-cvsroot.tar.gz

(this works for most of sf projects).

Baptiste.

----- Original Message ----- 
From: "Andrey Melnikov" <[email protected]>
To: <[email protected]>
Sent: Friday, May 16, 2003 2:32 PM
Subject: RE: [Cppunit-devel] msvc7 support


> 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



-------------------------------------------------------
This SF.net email is sponsored by: If flattening out C++ or Java
code to make your application fit in a relational database is painful, 
don't do it! Check out ObjectStore. Now part of Progress Software.
http://www.objectstore.net/sourceforge