Subject: [Boost-bugs] [Boost C++ Libraries] #5887: flex_string.hpp needs to include <ios>
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-09-10 15:26:16
#5887: flex_string.hpp needs to include <ios>
--------------------------------------+-------------------------------------
Reporter: howard.hinnant@⦠| Owner: hkaiser
Type: Bugs | Status: new
Milestone: To Be Determined | Component: wave
Version: Boost 1.47.0 | Severity: Problem
Keywords: |
--------------------------------------+-------------------------------------
In boost/wave/util/flex_string.hpp:
#if defined(__PATHSCALE__)
#include <ios>
#else
#include <iosfwd>
#endif
But later this file uses:
std::ios_base::eofbit
and:
std::ios_base::failbit
This code is only correct when __PATHSCALE__ is defined.
Bug detected by Ryuta Suzuki using libc++. Bug diagnosed by Marc Glisse.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5887> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:07 UTC