Boost logo

Boost :

Subject: Re: [boost] [python]  warnings removal
From: Vicente Botet (vicente.botet_at_[hidden])
Date: 2010-11-27 12:12:52


Vicente Botet wrote:
>
> Hi,
>
> with gcc-4.3.4 there is a warning
>
> * warning: deprecated conversion from string constant to ‘char*’
>
>
> ./boost/python/object/instance.hpp:14: warning: type attributes ignored
> after type is already defined
> libs\python\src\object\class.cpp: In function ‘int
> boost::python::property_init(PyObject*, PyObject*, PyObject*)’:
> libs\python\src\object\class.cpp:79: warning: deprecated conversion from
> string constant to ‘char*’
> libs\python\src\object\class.cpp:79: warning: deprecated conversion from
> string constant to ‘char*’
> libs\python\src\object\class.cpp:79: warning: deprecated conversion from
> string constant to ‘char*’
> libs\python\src\object\class.cpp:79: warning: deprecated conversion from
> string constant to ‘char*’
>
>

It seems that there were already a Trac Patch
https://svn.boost.org/trac/boost/ticket/4692 :(

Vicente

-- 
View this message in context: http://boost.2283326.n4.nabble.com/python-warnings-removal-tp3061320p3061728.html
Sent from the Boost - Dev mailing list archive at Nabble.com.

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