Opened 13 years ago
Last modified 12 years ago
#3776 new Patches
libs/python/src/object/class.cpp treats string constant as char*
| Reported by: | anonymous | Owned by: | Dave Abrahams |
|---|---|---|---|
| Milestone: | Boost 1.42.0 | Component: | python USE GITHUB |
| Version: | Boost 1.41.0 | Severity: | Problem |
| Keywords: | Cc: |
Description
gcc gives the following warnings:
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*’
Attachments (1)
Change History (2)
by , 13 years ago
| Attachment: | patchfile.patch added |
|---|
comment:1 by , 12 years ago
| Type: | Bugs → Patches |
|---|
Note:
See TracTickets
for help on using tickets.

Uses appropriate casts to get rid of the problem.