From: zeil@cs.odu.edu (Steven J. Zeil)
Subject: Re: g++ problem "-fno-implicit-templates"
14 Nov 1997 13:37:10 -0800
Message-ID: <Pine.GSO.3.96.971114132215.6256C-100000.cygnus.gnu-win32@shetland.cs.odu.edu>
References: <3.0.1.32.19971113110825.006ccec4@carpenter.ikos.com>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
To: Russ Vreeland <russv@ikos.com>
Cc: gnu-win32@cygnus.com



On Thu, 13 Nov 1997, Russ Vreeland wrote:

> 
> template class vector<transitions>; // last line in .cc file
> 
> It still doesn't work, the error message now contains:
> 
> SignalDB.o(.text+0x1668):SignalDB.cc: undefined reference to
> `uninitialized_fill
> _n(sigActList *, unsigned int, sigActList const &)'
> SignalDB.o(.text+0x16e1):SignalDB.cc: undefined reference to
> `uninitialized_copy
   [list of messages omitted]
> 
> What can I do to make this work? I'm about ready to give up on gnu-win32.
> 

Go to http://www.metabyte.com/~fbp/stl/effort.html, get the latest adapted
version of the STL.

Unpack it, and reconfigure (from within a bash shell) this way:
   CXX=g++ CXXFLAGS="-g" ./configure --enable-malloc
[Adjust the CXXFLAGS to whatever flags you use most often]

Use -I options in your compilations to look at the directory containing
this adapted version before the gnu-win32 include directories, and don't
bother with -fno-implicit-templates.


SJZ


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
