Boost logo

Boost :

Subject: [boost] boost-trunk compile failure gcc 4.4.3
From: Gaetano Mendola (mendola_at_[hidden])
Date: 2010-07-24 10:57:28


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


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