
Fixes for the egcs compiler by Pablo Halpern
============================================

There are a few bugs and omissions in the library that comes with the egcs
compiler. This code set contains a directory, egcs-fixes, which provide
sufficient work-arounds and fixes for these problems to compile the code.
The files are as follows:

   sstream.h         An definition of stringstreams, which
                     is missing from the library.
   sstream           A file that includes sstream.h
   sstream.cc        Implementation of stringstream. This is
                     automatically included in sstream.h if the
                     SSTREAM_INLINE preprocessor flag is set.
   auto_ptr.h        An implementation of auto_ptr, which
                     is missing from the library.
   iomanipfixes.h    A implementation of some I/O manipulators
                     which are missing from the library.
   rel_ops.h         An implementation of the rel_ops namespace,
                     which is missing from the library.
   stringiofixes.h   A work-around for a bug in writing strings to
                     output streams.

   libfixes.h        Includes all of the above except sstream.*.

This is an incomplete, not-fully-conforming implementation of the
stringstream class. It is written for the egcs 1.1.2 compiler, which
does not come with with its own stringstream implementation. It may be
adapted for other compilers.

This implementation should be useful for must common uses, but there are no
guarantees. I have not attempted to optimize for effiency, nor have
I tested this extensively. Feedback and bug fixes appreciated.
mail-to:phalpern@newview.org

To compile code without explicitly including the above files, use the following
compiler g++ command line flags:

   -I./egcs-fixes -DSSTREAM_INLINE --include ./egcs-fixes/libfixes.h

Note:
These flags are automatically supplied by the build system of this project if it
detects an egcs compiler.


EOF
