🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.help
Article #848

more on safestl and g++

#848
From: Kate Hedstrom
Date: Sun, 03 Dec 1995 22:33
21 lines
1225 bytes
I found a workaround for the problem I was having with vector.h in
the safestl code with g++ 2.7.x.  My current version is available on

    ftp://imcs.rutgers.edu/pub/kate/safestl.tar.gz

Please let me know if you have any problems with it.  My README:

This is Cay Horstmann's safestl package with lots of #ifdef __GNUG__
statements added.  It is based on STL from libg++ version 2.7.1
which includes Cay's algobase.h patch, so algobase.h is not included
here.

I was having trouble with the typedefs for owner_type conflicting
with each other.  I removed them except in tree.h.  I expect that if
you have more than one kind of tree, g++ will complain.  The
workaround is to spell out the whole typedef everywhere it is used.

There were a few things I was unsure of and marked with KSH.

Kate Hedstrom
kate@imcs.rutgers.edu
Technical Details
Message-ID: <199512032233.RAA14697@ahab.rutgers.edu>
Path: arc1-ca.pugleaf.net!ahab.rutgers.edu!kate

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!ahab.rutgers.edu!kate
From: kate@ahab.rutgers.edu (Kate Hedstrom)
Newsgroups: gnu.g++.help,comp.lang.c++
Subject: more on safestl and g++
Date: 3 Dec 1995 17:33:57 -0500
Organization: Gatewayed from the GNU Project mailing list help-g++@prep.ai.mit.edu
Sender: daemon@cis.ohio-state.edu
Distribution: world
Message-ID: <199512032233.RAA14697@ahab.rutgers.edu>