Bug 756005 - [Boost-1.48.0] boost::BOOST_FOREACH declaration issue
Summary: [Boost-1.48.0] boost::BOOST_FOREACH declaration issue
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: boost
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Petr Machata
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 754865
TreeView+ depends on / blocked
 
Reported: 2011-11-22 15:18 UTC by Denis Arnaud
Modified: 2015-05-05 01:36 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-29 17:26:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Denis Arnaud 2011-11-22 15:18:27 UTC
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:
#ifndef FOREACH_HPP
#define FOREACH_HPP

#include <boost/foreach.hpp>

#define foreach BOOST_FOREACH

#endif


Version-Release number of selected component (if applicable):
Boost-1.48.0-1

How reproducible:
Always

Steps to Reproduce:
Compile Wesnoth on Fedora Rawhide
  
Actual results:
See above.

Expected results:
No compilation error.

Additional info:
Boost upstream has identified that issue, and Eric Niebler has even submitted a patch for it: https://svn.boost.org/trac/boost/ticket/6131

Comment 1 Bruno Wolff III 2011-11-29 13:45:14 UTC
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?

Comment 2 Petr Machata 2011-11-29 15:22:07 UTC
I built a package that should fix this issue.  Could you please try whether it actually does?

Comment 3 Bruno Wolff III 2011-11-29 17:26:32 UTC
Thanks! I have successfully built Wesnoth in rawhide.


Note You need to log in before you can comment on or make changes to this bug.