|
Boost-Commit : |
From: hartmut.kaiser_at_[hidden]
Date: 2008-02-04 14:21:47
Author: hkaiser
Date: 2008-02-04 14:21:46 EST (Mon, 04 Feb 2008)
New Revision: 43101
URL: http://svn.boost.org/trac/boost/changeset/43101
Log:
Wave: trying to fix stdcxx_gcc regression.
Text files modified:
trunk/libs/wave/samples/cpp_tokens/slex_token.hpp | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
Modified: trunk/libs/wave/samples/cpp_tokens/slex_token.hpp
==============================================================================
--- trunk/libs/wave/samples/cpp_tokens/slex_token.hpp (original)
+++ trunk/libs/wave/samples/cpp_tokens/slex_token.hpp 2008-02-04 14:21:46 EST (Mon, 04 Feb 2008)
@@ -14,6 +14,7 @@
#define SLEX_TOKEN_HPP_53A13BD2_FBAA_444B_9B8B_FCB225C2BBA8_INCLUDED
#include <iomanip>
+#include <ios>
#include <boost/wave/wave_config.hpp>
#include <boost/wave/token_ids.hpp>
@@ -82,11 +83,13 @@
{
using namespace std;
using namespace boost::wave;
- stream << setw(16) << left << boost::wave::get_token_name(id) << " ("
+
+ stream << std::setw(16)
+ << std::left << boost::wave::get_token_name(id) << " ("
<< "#" << token_id(ID_FROM_TOKEN(*this))
<< ") at " << get_position().get_file() << " ("
- << setw(3) << right << get_position().get_line() << "/"
- << setw(2) << right << get_position().get_column()
+ << std::setw(3) << std::right << get_position().get_line() << "/"
+ << std::setw(2) << std::right << get_position().get_column()
<< "): >";
for (std::size_t i = 0; i < value.size(); ++i) {
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk