Boost logo

Boost :

Subject: Re: [boost] boost-trunk compile failure gcc 4.4.3
From: OvermindDL1 (overminddl1_at_[hidden])
Date: 2010-07-24 21:51:31


On Sat, Jul 24, 2010 at 8:57 AM, Gaetano Mendola <mendola_at_[hidden]> wrote:
> current trunk has a compilation failure, the following diff solves it
>
> Index: boost/optional/optional_io.hpp
> ===================================================================
> --- boost/optional/optional_io.hpp      (revision 64315)
> +++ boost/optional/optional_io.hpp      (working copy)
> @@ -74,12 +74,12 @@
>     else
>     {
>       if ( d != '-')
> -        in.setstate( ios::failbit );
> +        in.setstate( std::ios::failbit );
>
>       d = in.get();
>
>       if ( d != '-')
> -        in.setstate( ios::failbit );
> +        in.setstate( std::ios::failbit );
>
>       v = optional<T>() ;
>     }

It is already being talked about in another thread and someone is
going to commit the fix here soon.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk