Message92890
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? |
|
Date |
User |
Action |
Args |
2009-09-20 11:29:46 | barry-scott | set | recipients:
+ barry-scott |
2009-09-20 11:29:46 | barry-scott | set | messageid: <1253446186.78.0.0648542984315.issue6952@psf.upfronthosting.co.za> |
2009-09-20 11:29:45 | barry-scott | link | issue6952 messages |
2009-09-20 11:29:45 | barry-scott | create | |
|