Re: [Cppunit-devel] Small patch for cppunit on Alpha Tru64 Unix 5.1
Brought to you by:
blep
|
From: Baptiste L. <gai...@fr...> - 2001-06-11 14:21:25
|
Quoting Petter Reinholdtsen <pe...@hu...>:
> [Steve M. Robbins]
> > Petter: what feature is missing if __USE_STD_IOSTREAM is NOT defined?
> > Does the problem appear in Tru64 4.x, by chance? I have a 4.0f system
> > (on which I could work out a configure test), but no 5.x systems.
>
> The code refuses to compile if it isn't defined. Apparently, the C++
> library on Tru64 5.x (I know nothing of Tru64 4.x) require one of two
> defines to allow iostreams to be included. I choose the Standard C++
> define when compiling cppunit.
>
> A simple compile test in configure.in should solve the problem.
>
I searched RogueWave documentation for that symbol. Here is what I found
(excerpt of Tools++ 7.1.1 toolread.doc):
----------------------------------------------------------
***************************
**** DEC C++ on OSF users ****
***************************
Tools.h++ is certified for:
Digital UNIX V4.0F for DEC C++ V6.1, with POSIX threads
NOTE: Either DEC or RW Standard Library can be used
1. If you compile Tools.h++ with the DEC Standard Library, Tools.h++
will use the old-style iostreams rather than the new iostreams
specified by the published C++ Standard. The reason for this is that
DEC cxx uses the old iostreams by default and requires the user to
put -D__USE_STD_IOSTREAM in the cxx command line in order to get
the new iostreams.
----------------------------------------------------------
So it seems to be a platform specific "feature" ;-)
Hope this help,
Baptiste.
---
Baptiste Lepilleur <gai...@fr...>
http://gaiacrtn.free.fr/index.html
Language: English, French
|