[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#232709: Undefined symbol: _M_setstate



tags 232709 + upstream
tags 232709 + fixed-upstream
retitle 232709 [fixed in 3.4] Undefined symbol: _M_setstate
thanks

not a regression, so I doubt it will be fixed in 3.3.

John Firebaugh writes:
> Package: libstdc++5
> Version: 3.3.3-0pre3
> 
> The symbol
> 
> std::basic_ios<char, std::char_traits<char> >::_M_setstate(std::_Ios_Iostate)
> 
> is missing.
> 
> Test case:
> 
> ----
> 
> #include <ios>
> 
> class my_basic_streambuf
>     : public std::basic_streambuf<char, std::char_traits<char> >
> {
> };
> 
> int main()
> {
>     my_basic_streambuf sb;
>     std::basic_ios<char, std::char_traits<char> > b( &sb );
>     b._M_setstate( b.exceptions() );
>     return 0;
> }
> 
> ----
> 
> Compiling with g++ gives a link error: undefined symbol 'std::basic_ios<char, 
> std::char_traits<char> >::_M_setstate(std::_Ios_Iostate)'.
> 
> -John
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-gcc-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: