Re: [Cppunit-devel] Configuring CppUnit on HP-UX
Brought to you by:
blep
|
From: Jornei V. <jo...@co...> - 2002-04-28 14:16:54
|
Hi,
I'm using CppUnit 1.6.2 in HP-UX (11). We had to make some changes in
the code to make it possible to run and, concerning the 'std', we defined
std as empty in the compiler (-Dstd= ).
I ported also the CppUnit 1.8.0 to HP-UX, with the same approach. It is
not the best thing to do since it leaves me with other issues that I'm
solving when they occur.
Jornei
----- Original Message -----
From: <Sha...@in...>
To: <cpp...@li...>
Cc: <sh...@pl...>
Sent: Sunday, April 28, 2002 9:21 AM
Subject: [Cppunit-devel] Configuring CppUnit on HP-UX
Hi guys,
First of all, I would like to thank you for producing this great library.
I am using CppUnit 1.6.2 for unit-testing a library developed on Win32 and 3
Unices (Solaris, HP, and AIX). I am having some problems with the HP side,
because there seems to be a unique configuration there: the compiler itself
does support namespaces, but the standard libraries are configured _not_ to
use namespace std (in newer compiler releases, there are better libraries,
but I am bound to the older ones by backward-compatibility requirements).
Now, the CppUnit configure script assumes that if the compiler supports
namespaces, then the standard library is in namespace std. I've been
thinking that I should solve this by adding a header file defining namespace
std, and including in it (with "using" declarations) every name the compiler
will complain about.
Are there better options?
Are there solutions to this problem in the more recent versions of CppUnit?
1.6.2 works fine for me in the other environments, and upgrading on four
platforms is a cost I would much rather avoid.
Thanks in advance,
Shai.
_______________________________________________
Cppunit-devel mailing list
Cpp...@li...
https://lists.sourceforge.net/lists/listinfo/cppunit-devel
|