Re: [Cppunit-devel] CppUnit and Object Space
Brought to you by:
blep
From: Baptiste L. <gai...@fr...> - 2003-09-09 19:15:18
|
If the STL class are defined in the global namespace, you can use the same work-around as for compiler that do not support namespace: #define std or -Dstd Dirty, but work fine. Baptiste. ----- Original Message ----- From: "Wyssocky, Lidor" <Lwy...@nd...> To: "Baptiste Lepilleur" <gai...@fr...> Sent: Tuesday, September 09, 2003 7:53 AM Subject: RE: [Cppunit-devel] CppUnit and Object Space Hi Baptiste, I currently don't have the compiler's output in front of me (I'll have it in a couple of days), but the problem was with STL dependencies (such as string if I remember correctly). The Object Space version we are using does not define STL classes under a namespace. I guess the same is true for the CppUnit usage of STL, so a conflict may occur during compilation. Lidor Lidor Wyssocky Software Infrastructure and Tools NDS Technologies Israel E-Mail: lwy...@nd... Phone: 972-2-589-4801 Fax: 972-2-589-4900 http://www.QualityProgramming.org -----Original Message----- From: Baptiste Lepilleur [mailto:gai...@fr...] Sent: Monday, September 08, 2003 10:28 PM To: Wyssocky, Lidor; cpp...@li... Subject: Re: [Cppunit-devel] CppUnit and Object Space Could you indicate what those conflicts are ? Baptiste. ----- Original Message ----- From: "Wyssocky, Lidor" <Lwy...@nd...> To: <cpp...@li...> Sent: Monday, September 01, 2003 2:16 PM Subject: [Cppunit-devel] CppUnit and Object Space Hi, I encountered a compilation problem when building a test that uses the object space library (on Linux with the gcc compiler). This library defines its own STL implementation, and it seems that it conflicts with the usage of the default STL you are using in the CppUnit framework. Do you have any idea how this conflict could be solved (assuming we can't recompile the Ospace library such that it will use different namespace for STL). Thanks in Advance, Lidor Wyssocky Lidor Wyssocky Software Infrastructure and Tools NDS Technologies Israel E-Mail: lwy...@nd... Phone: 972-2-589-4801 Fax: 972-2-589-4900 http://www.QualityProgramming.org <http://www.qualityprogramming.org/> **************************************************************************** ******* Information contained in this email message is intended only for use of the individual or entity named above. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the pos...@nd... and destroy the original message. **************************************************************************** ******* ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Cppunit-devel mailing list Cpp...@li... https://lists.sourceforge.net/lists/listinfo/cppunit-devel **************************************************************************** ******* Information contained in this email message is intended only for use of the individual or entity named above. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the pos...@nd... and destroy the original message. **************************************************************************** ******* |