Author barry-scott
Recipients barry-scott
Date 2009-09-20.11:29:45
SpamBayes Score 0.00484627
Marked as misclassified No
Message-id <1253446186.78.0.0648542984315.issue6952@psf.upfronthosting.co.za>
In-reply-to
Content
Many Python API functions are causing GCC to rightly complain
that const char * strings are being passed to python functions
that take char * but do not need to modify the args.

g++ reports example.cxx:633: warning: deprecated conversion from string
constant to ‘char*’

The example I encountered today, while testing PyCXX against
G++ 4.2.1 on Mac OS X, was PyObject_CallMethod
but it is not limited to this function.

Would a patch help progress this issue?
History
Date User Action Args
2009-09-20 11:29:46barry-scottsetrecipients: + barry-scott
2009-09-20 11:29:46barry-scottsetmessageid: <1253446186.78.0.0648542984315.issue6952@psf.upfronthosting.co.za>
2009-09-20 11:29:45barry-scottlinkissue6952 messages
2009-09-20 11:29:45barry-scottcreate