Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#5887 closed Bugs (fixed)

flex_string.hpp needs to include <ios>

Reported by: howard.hinnant@… 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.

Change History (2)

comment:1 by Hartmut Kaiser, 11 years ago

Resolution: fixed
Status: newclosed

(In [74335]) Wave: fixed #5887: flex_string.hpp needs to include <ios>

comment:2 by Hartmut Kaiser, 11 years ago

(In [74338]) Wave: fixed #5887: flex_string.hpp needs to include <ios>

Note: See TracTickets for help on using tickets.