Boost logo

Boost :

Subject: Re: [boost] Python 3.2: convert convert PyObject* to PyUnicodeObject*?
From: Matthew Bradbury (matt-bradbury_at_[hidden])
Date: 2011-04-06 06:43:00


Steve M. Robbins <steve <at> sumost.ca> writes:

>
> Hi,
>
> Boost 1.46.1 fails to build with Python 3.2 on linux (Debian). The
> build fails with:
>
> error: cannot convert -F�PyObject*� to �PyUnicodeObject*� for argument �1� to
�Py_ssize_t
> PyUnicodeUCS4_AsWideChar(PyUnicodeObject*, wchar_t*, Py_ssize_t)�-A
>
> at this code:
snip
>
> Is there an easy fix?
>
> Thanks,
> -Steve

Yes, I submitted a bug and a patch some time ago.

https://svn.boost.org/trac/boost/ticket/4994

Matt


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk