Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8416: Boost 1.53.0: Wave fails to build in C++11 mode
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-04-10 06:47:56
#8416: Boost 1.53.0: Wave fails to build in C++11 mode
-------------------------------------+--------------------------------------
Reporter: Arfrever.FTA@⦠| Owner: hkaiser
Type: Bugs | Status: new
Milestone: Boost 1.54.0 | Component: wave
Version: Boost 1.53.0 | Severity: Regression
Resolution: | Keywords:
-------------------------------------+--------------------------------------
Comment (by Arfrever.FTA@â¦):
It seems that internal implementation of macrodefinition.resize() is
broken. Currently I have no patch for it.
A workaround is to use macrodefinition.pop_back():
{{{
--- boost/wave/util/cpp_iterator.hpp
+++ boost/wave/util/cpp_iterator.hpp
@@ -204,7 +204,7 @@
// get rid of trailing T_EOF
if (!macrodefinition.empty() && token_id(macrodefinition.back()) ==
T_EOF)
- macrodefinition.resize(macrodefinition.size()-1);
+ macrodefinition.pop_back();
// If no macrodefinition is given, and the macro string does not end
with a
// '=', then the macro should be defined with the value '1'
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8416#comment:3> 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:12 UTC