[Boost-bugs] [Boost C++ Libraries] #10932: Boost.Python Missing Include Placeholders

Subject: [Boost-bugs] [Boost C++ Libraries] #10932: Boost.Python Missing Include Placeholders
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-01-14 15:09:24


#10932: Boost.Python Missing Include Placeholders
-----------------------------------------+-------------------------
 Reporter: a.huebl@… | Owner: rwgk
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: Python
  Version: Boost 1.57.0 | Severity: Showstopper
 Keywords: nvcc python missing include |
-----------------------------------------+-------------------------
 Hi,

 I am compiling Boost.Python with '''nvcc/6.5''', '''gcc/4.6.2''',
 '''python/2.7.8''' and '''cmake/3.0.1''' right now.

 As a side note, I modified the standard ''FindPythonLibs.cmake'' a bit to
 match the ''cuda_add_library'' calls.

 During compile, get an error
 {{{
 boost/python/exception_translator.hpp(22): error: identifier "_1" is
 undefined
 boost/python/exception_translator.hpp(22): error: identifier "_2" is
 undefined
 }}}

 due to a missing include:
 {{{
 #include <boost/bind/placeholders.hpp>
 }}}

 The attached patch and GitHub pull request no. 13 fix the issue.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10932>
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:17 UTC