From: C. C. <cc...@su...> - 1998-04-20 21:08:13
|
On Fri, 10 Apr 1998, Todd Veldhuizen wrote: > > Unfortunately bzconfig says that the compiler doesn't support > > enum computations nor does SGI ship the <string> part of the > > standard lib. > > Depending on the <string> class is a problem with the Cray compiler > too. > > Possible solutions: > * test for <string> in compiler/bzconfig and, if missing, disable > the parts of the library which require it. Makes the source code > a bit messy.. > * borrow a <string> class from elsewhere (gnu lib?). Could possibly > package it with blitz, and automatically use it when <string> > seems to me missing. Unfortunately many of the <string> implementations > I've seen aren't very self-reliant (i.e. they need to include half > the standard library..) Anyone know of a compact, self-contained > string class? > > I'd favour the 2nd solution, because the first solution would be > a bit messy. > I downloaded the ObjectSpace ToolKit which has an implementation of the ANSI <string> class. I'll see if that will work on the SGI platform. I have tried the SGI STL and the ObjectSpace STL and they both compile a few of my programs using the vector container. Right now I'm more concerned about getting a work around for the calculation in enums problem. -- C. Chan < c-...@uc... > Dept. of Radiology, The University Of Chicago Advance and High Performance Research Computing PGP Public Key: finger cc...@su... --------------------- blitz-dev list -------------------------------- * To subscribe/unsubscribe: mail to maj...@oo..., with "subscribe blitz-dev" or "unsubscribe blitz-dev" in the body of the message * Blitz++ web page: http://oonumerics.org/blitz/ |