Re: [Cppunit-devel] cppunit and namespaces
Brought to you by:
blep
From: Baptiste L. <gai...@fr...> - 2002-07-30 16:28:08
|
Portability is one of the area being worked on. Luckily for you, support for 'no namespace' is already in place. The current CVS version should be able to compile without workspace (I tested on VC++ and it worked without the classes being in the CppUnit namespace). This setting is supposed to be automatically detected by autoconf. Here are the important symbols that are of concerns: CPPUNIT_HAVE_NAMESPACES should be 0 if you don't have namespace. This should automatically define (Portability.h): # define CPPUNIT_NO_NAMESPACE 1 # define CPPUNIT_NO_STD_NAMESPACE 1 If you can't access CVS, let me know, I'll try to make a snapshot (I heard somewhere there was a tool based on cvsview cgi script that could obtain read-only version of a project through http, but I can't remember the name). Baptiste. ----- Original Message ----- From: "Balooch Amir, Köln" <Ba...@fj...> To: <cpp...@li...> Sent: Friday, July 26, 2002 1:20 PM Subject: [Cppunit-devel] cppunit and namespaces > Hello All, > > i must compile cppunit-sources at the OS/390-System, but the C++ > copmiler(OSV2R10) at this system supports > any "namespaces". > Do you have any experiences with similar problems, or do you know one not > too complex way to work around > the "namespaces" in sourcecodes? > > Thanks for any help > Amir Balooch |