Re: [Boost-bugs] [Boost C++ Libraries] #1931: Boost.Python headers won't compile with GCC 4.3

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1931: Boost.Python headers won't compile with GCC 4.3
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-05-22 09:57:41


#1931: Boost.Python headers won't compile with GCC 4.3
-------------------------------+--------------------------------------------
  Reporter: vbe_at_[hidden] | Owner: dave
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: Python
   Version: Boost 1.35.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+--------------------------------------------
Comment (by anonymous):

 FROM
 http://sourceforge.net/tracker/index.php?func=detail&aid=1968282&group_id=165310&atid=835077
 ==================================================================================

 This is a bug in boost python, there are similar reports for other
 projects.

 If you want a quick workaround do:

 1) /usr/include/boost/python/detail/def_helper.hpp:

 line 189: typename keyword_extract<all_t>::result_type keywords() const
 change to: typename keyword_extract<all_t>::result_type extract_keywords()
 const

 2) /usr/include/boost/python/class.hpp:

 line 542: , helper.keywords()
 change to: , helper.extract_keywords()

 line 571: helper.default_implementation(), helper.policies(),
 helper.keywords())
 change to: helper.default_implementation(), helper.policies(),
 helper.extract_keywords())

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1931#comment:2>
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:49:57 UTC