[Boost-bugs] [Boost C++ Libraries] #3776: libs/python/src/object/class.cpp treats string constant as char*

Subject: [Boost-bugs] [Boost C++ Libraries] #3776: libs/python/src/object/class.cpp treats string constant as char*
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-12-18 00:29:59


#3776: libs/python/src/object/class.cpp treats string constant as char*
--------------------------+-------------------------------------------------
 Reporter: anonymous | Owner: dave
     Type: Bugs | Status: new
Milestone: Boost 1.42.0 | Component: Python
  Version: Boost 1.41.0 | Severity: Problem
 Keywords: |
--------------------------+-------------------------------------------------
 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*’

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3776>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:02 UTC