Re: BZDEV: Missing <string>

From: C. Chan (cchan@surya.bsd.uchicago.edu)
Date: Mon Apr 20 1998 - 13:13:28 EST


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-chan@uchicago.edu > 
Dept. of Radiology, The University Of Chicago
Advance and High Performance Research Computing
PGP Public Key: finger cchan@surya.bsd.uchicago.edu

--------------------- blitz-dev list -------------------------------- * To subscribe/unsubscribe: mail to majordomo@oonumerics.org, with "subscribe blitz-dev" or "unsubscribe blitz-dev" in the body of the message * Blitz++ web page: http://oonumerics.org/blitz/



This archive was generated by hypermail 2b29 : Wed Feb 20 2002 - 04:30:04 EST