boost-trunk compile failure gcc 4.4.3

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>() ; } Regards Gaetano mendola

On Sat, Jul 24, 2010 at 8:57 AM, Gaetano Mendola <mendola@gmail.com> 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.
participants (2)
-
Gaetano Mendola
-
OvermindDL1