Boost logo

Boost :

From: Jonathan Wakely (cow_at_[hidden])
Date: 2005-05-08 16:07:28

On Sun, May 08, 2005 at 12:46:10PM -0500, Rene Rivera wrote:

> For this sole failure on the tests that I run:
> I did some investigation and narrowed the problem down to this:
[snip testcase]
> Which gives a link error of:
> undefined reference to `std::basic_iostream<char,
> std::char_traits<char> >::~basic_iostream()'
> And AFAICT that particular dtor is not in libstdc++. And for that matter
> the entire std::basic_iostream<char,..> instance is missing.

I've had very similar problems with that dtor missing from libstdc++,
(despite the subject line, this was nothing to do with PR16715, that
just made a latent problem apparent)

Could you check whether the wchar_t specialisation is in the library?

nm --demangle | grep 'basic_iostream<wchar_t'

Both the char and wchar_t specialisations should be in the lib, thanks
to explicit instantiation in istream.tcc

This problem eventually went away IIRC, I was tracking the CVS version
and stopped having the problem at some point.


Boost list run by bdawes at, gregod at, cpdaniel at, john at