[Boost-bugs] [Boost C++ Libraries] #5643: Python 3.2 compiling error ( PyUnicodeUCS2_AsWideChar )

Subject: [Boost-bugs] [Boost C++ Libraries] #5643: Python 3.2 compiling error ( PyUnicodeUCS2_AsWideChar )
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-06-25 18:41:43


#5643: Python 3.2 compiling error ( PyUnicodeUCS2_AsWideChar )
----------------------------------------+-----------------------------------
 Reporter: pelotoescogorciao@… | Owner:
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: None
  Version: | Severity: Problem
 Keywords: |
----------------------------------------+-----------------------------------
 ibs\python\src\converter\builtin_converters.cpp(436) : error C2664:
 'PyUnicodeUCS2_AsWideChar' : cannot convert parameter 1 from
 'PyUnicodeObject *' to 'PyObject *'
         Types pointed to are unrelated; conversion requires
 reinterpret_cast, C-style cast or function-style cast

 Solution: change libs\python\src\converter\builtin_converters.cpp(436)
               int err = PyUnicode_AsWideChar(
                   /*(PyUnicodeObject *)*/intermediate // change this
 line, comment out the C style cast!!!

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