Red Hat Bugzilla – Bug 756005
[Boost-1.48.0] boost::BOOST_FOREACH declaration issue
Last modified: 2015-05-04 21:36:30 EDT
Description of problem:
With the new Boost-1.48.0, on Fedora Rawhide, there may be some compilation issues with the Boost.ForEach component/header.
For instance, when compiling Wesnoth, the following compilation error appears:
foreach.hpp:6:17: error: 'boost::BOOST_FOREACH' has not been declared
and foreach.hpp is:
#define foreach BOOST_FOREACH
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Compile Wesnoth on Fedora Rawhide
No compilation error.
Boost upstream has identified that issue, and Eric Niebler has even submitted a patch for it: https://svn.boost.org/trac/boost/ticket/6131
Upstream has now closed this issue as fixed. Can we get a cherry pick of this fix in, even if there isn't a new point release available upstream?
I built a package that should fix this issue. Could you please try whether it actually does?
Thanks! I have successfully built Wesnoth in rawhide.