Linker Error with STL and egcs 1.1b

Alexandre Oliva oliva@dcc.unicamp.br
Sat Sep 19 23:51:00 GMT 1998


Matthias Heiler <heiler@rumms.uni-mannheim.de> writes:

> #include <rope>
> int main() { crope u(100, 'x'); }

> egcs-2.91.57 19980901 (egcs-1.1 release)"):

> undefined reference to `rope<char, __default_alloc_template<false, 0>
>> identity_element<char, __default_alloc_template<false, 0>
>> (rope<char, __default_alloc_template<false, 0> >::concat_fn)'
> collect2: ld returned 1 exit status

Fixed in the latest development snapshot.  In fat, the problem is in
SGI STL, that we just bundle with egcs.  Compiling with -Wall -ansi
-pedantic doesn't work yet, though :-(

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil




More information about the Gcc-bugs mailing list