Re: [Cppunit-devel] Small patch for cppunit on Alpha Tru64 Unix 5.1
Brought to you by:
blep
From: Baptiste L. <bl...@cl...> - 2001-09-24 21:35:53
|
Resurecting an old thread in answer to [Is that really "RogueWave"?] ;-) => if you look carefuly, what RogueWave doc say (below) is that the problem is related to DEC cxx, not RogueWave, but to compile RogueWave STL, you must also define the flag. Baptiste. ----- Original Message ----- From: "Baptiste Lepilleur" <gai...@fr...> To: <cpp...@li...> Sent: Monday, June 11, 2001 4:21 PM Subject: Re: [Cppunit-devel] Small patch for cppunit on Alpha Tru64 Unix 5.1 > 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 <ble...@fr...> http://gaiacrtn.free.fr/index.html Author of The Text Reformatter, a tool for fanfiction readers and writers. Language: English, French (Well, I'm French). |