egcs-1.0.2: string<unsigned char> failure

Gerald Pfeifer pfeifer@dbai.tuwien.ac.at
Mon May 4 01:36:00 GMT 1998


On 3 May 1998, Alexandre Oliva wrote:
> Before considering a bug fixed just because it works in your
> installation, try to reproduce the reported problem with a version as
> close to the reporter's as possible. If you're unable to reproduce
> it, the problem is usually platform-dependent.

Hmm, but the warning reported was

  /d2a/exper/include/g++/std/bastring.h:76: warning: inline function
  `static void basic_string<unsigned char,string_char_traits<unsigned
  char>,__default_alloc_template<false,0> >::Rep::operator delete(void *)'
  called before definition

which doesn't appear to be platform related.

However, you are right: I did my original tests on sparc-sun-solaris2.5.1,
which worked fine, while on sparc-sun-sunos4.1.3_U1 indeed I still get

  ld: Undefined symbol 
     basic_string<unsigned char, string_char_traits<unsigned char>,
  __default_alloc_template<0, 0> >::nilRep

for egcs-current-CVS.

Contritely,
Gerald
-- 
Gerald Pfeifer (Jerry)      Vienna University of Technology
pfeifer@dbai.tuwien.ac.at   http://www.dbai.tuwien.ac.at/~pfeifer/




More information about the Gcc-bugs mailing list