|
Boost : |
From: Beman Dawes (bdawes_at_[hidden])
Date: 2005-05-08 13:58:43
"Rene Rivera" <grafik.list_at_[hidden]> wrote in message
news:427E5062.6020705_at_redshift-software.com...
> For this sole failure on the tests that I run:
>
> http://tinyurl.com/92zns
>
> I did some investigation and narrowed the problem down to this:
>
> ===basic_iostream_char_test.cpp===
> #include <fstream>
>
> struct my_fstream : public std::basic_fstream<char>
> {
> my_fstream() :
> std::basic_fstream<char>("basic_iostream_char_test.cpp") { }
> };
>
> int main(int argc, char** argv)
> {
> my_fstream f;
> }
> ===basic_iostream_char_test.cpp===
>
> 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.
>
> The strange aspect of this is that this exact test passes on Martin's
> tests. And of course it's only with this particular gcc. When I compile
> with 3.3.5, on the same machine, the symbols exist.
>
> Could others try compiling the above code? Just need to see if it's just
> my machine that has this problem before I file a GCC bug report.
Works fine on 3.3.3 (cygwin special). I don't appear to have 3.4.3 installed
on any machine here.
--Beman
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk