V3 vs. AIX

Mark Mitchell mark@codesourcery.com
Mon Feb 5 10:30:00 GMT 2001


David --

  I think your hypothesis is likely correct.  After removing -berok, I
get:

  d: 0711-317 ERROR: Undefined symbol: .std::string& std::string::_M_replace<cha\r const*>(std::__normal_iterator<char*, std::string>, std::__normal_iterator<ch\ar*, std::string>, char const*, char const*, std::forward_iterator_tag)
  ld: 0711-317 ERROR: Undefined symbol: .std::string& std::string::_M_replace<cha\r*>(std::__normal_iterator<char*, std::string>, std::__normal_iterator<char*, s\td::string>, char*, char*, std::forward_iterator_tag)
  ld: 0711-317 ERROR: Undefined symbol: .char* std::string::_S_construct<char con\st*>(char const*, char const*, std::allocator<char> const&, std::forward_iterat\or_tag)
  ld: 0711-317 ERROR: Undefined symbol: .void __sink_unused_warning<char>(char)
  ld: 0711-317 ERROR: Undefined symbol: .void
  __sink_unused_warning<std::locale::\

So, now I get to go look at more template ugliness.  One of these is
the function in question.

Why do we need -berok?  There are only a few undefined symbols, and
they all look like they should probably be defined...

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com


More information about the Gcc mailing list