Boost C++ Libraries: Ticket #4692: conversion from string literal to 'char *' is deprecated https://svn.boost.org/trac10/ticket/4692 <p> Boost svn trunk rev 64876. </p> <pre class="wiki">clang++ -o boost/libs/python/src/object/stl_iterator.o -c -DBOOST_ALL_NO_LIB -DBOOST_DISABLE_THREADS -DBOOST_PYTHON_MAX_BASES=2 -DBOOST_PYTHON_SOURCE -DBOOST_PYTHON_BOOL_INT_STRICT -I/Users/luc/Developer/cctbx/boost -fPIC -fno-strict-aliasing -DNDEBUG -O3 -ffast-math -I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 /Users/luc/Developer/cctbx/boost/libs/python/src/object/stl_iterator.cpp /Users/luc/Developer/cctbx/boost/libs/python/src/object/class.cpp:79:32: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated] static char *kwlist[] = {"fget", "fset", "fdel", "doc", 0}; ^ /Users/luc/Developer/cctbx/boost/libs/python/src/object/class.cpp:79:40: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated] static char *kwlist[] = {"fget", "fset", "fdel", "doc", 0}; ^ /Users/luc/Developer/cctbx/boost/libs/python/src/object/class.cpp:79:48: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated] static char *kwlist[] = {"fget", "fset", "fdel", "doc", 0}; ^ /Users/luc/Developer/cctbx/boost/libs/python/src/object/class.cpp:79:56: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated] static char *kwlist[] = {"fget", "fset", "fdel", "doc", 0}; ^ </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4692 Trac 1.4.3 Matthew Bradbury <matt-bradbury@…> Sat, 30 Oct 2010 12:14:47 GMT attachment set https://svn.boost.org/trac10/ticket/4692 https://svn.boost.org/trac10/ticket/4692 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">4692-fix-warning.patch</span> </li> </ul> <p> Fix warnings </p> Ticket Matthew Bradbury <matt-bradbury@…> Sat, 30 Oct 2010 12:16:56 GMT type changed https://svn.boost.org/trac10/ticket/4692#comment:1 https://svn.boost.org/trac10/ticket/4692#comment:1 <ul> <li><strong>type</strong> <span class="trac-field-old">Bugs</span> → <span class="trac-field-new">Patches</span> </li> </ul> <p> In <a class="wiki" href="https://svn.boost.org/trac10/wiki/Guidelines/WarningsGuidelines">Guidelines/WarningsGuidelines</a> under the heading "deprecated conversion from string constant to ‘char*’" this is actually one of the examples given! </p> Ticket Matthew Bradbury <matt-bradbury@…> Sat, 30 Oct 2010 12:41:37 GMT <link>https://svn.boost.org/trac10/ticket/4692#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4692#comment:2</guid> <description> <p> Just found an even older ticket with the same problem: <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3554" title="#3554: Bugs: PyArg_ParseTupleAndKeywords and deprecated conversion to char* (closed: duplicate)">#3554</a>. </p> </description> <category>Ticket</category> </item> <item> <author>Matthew Bradbury <matt-bradbury@…></author> <pubDate>Sat, 30 Oct 2010 12:45:21 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/4692#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4692#comment:3</guid> <description> <p> And again at <a class="new ticket" href="https://svn.boost.org/trac10/ticket/3776" title="#3776: Patches: libs/python/src/object/class.cpp treats string constant as char* (new)">#3776</a> </p> </description> <category>Ticket</category> </item> </channel> </rss>