#5887 closed Bugs (fixed)
flex_string.hpp needs to include <ios>
Reported by: | Owned by: | Hartmut Kaiser | |
---|---|---|---|
Milestone: | To Be Determined | Component: | wave |
Version: | Boost 1.47.0 | Severity: | Problem |
Keywords: | Cc: |
Description
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.
Note:
See TracTickets
for help on using tickets.
(In [74335]) Wave: fixed #5887: flex_string.hpp needs to include <ios>