[Boost-bugs] [Boost C++ Libraries] #8523: Python library warning messages

Subject: [Boost-bugs] [Boost C++ Libraries] #8523: Python library warning messages
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-04-30 06:53:08


#8523: Python library warning messages
-------------------------------------+--------------------------------------
 Reporter: lcarreon@… | Owner: rwgk
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: Python
  Version: Boost 1.53.0 | Severity: Problem
 Keywords: python warning |
-------------------------------------+--------------------------------------
 Hi,

 I built Boost 1.53.0 on Fedora 18 32/64-bit using the following command:

 ./b2 link=shared runtime-link=shared address-model=32|64 variant=release

 and received the following messages during the compilation:

 libs/python/src/object/enum.cpp: In function ‘boost::python::api::object
 boost::python::objects::{anonymous}::new_enum_type(const char*, const
 char*)’:
 libs/python/src/object/enum.cpp:150:44: warning: dereferencing type-punned
 pointer will break strict-aliasing rules [-Wstrict-aliasing]
 libs/python/src/object/class.cpp: In function ‘PyObject*
 boost::python::objects::static_data()’:
 libs/python/src/object/class.cpp:211:46: warning: dereferencing type-
 punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 libs/python/src/object/class.cpp: In function ‘boost::python::type_handle
 boost::python::objects::class_metatype()’:
 libs/python/src/object/class.cpp:319:49: warning: dereferencing type-
 punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 libs/python/src/object/class.cpp: In function ‘boost::python::type_handle
 boost::python::objects::class_type()’:
 libs/python/src/object/class.cpp:473:45: warning: dereferencing type-
 punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 libs/python/src/object/function.cpp: In constructor
 â€˜boost::python::objects::function::function(const
 boost::python::objects::py_function&, const
 boost::python::detail::keyword*, unsigned int)’:
 libs/python/src/object/function.cpp:108:39: warning: dereferencing type-
 punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 libs/python/src/object/function.cpp:110:39: warning: dereferencing type-
 punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 libs/python/src/object/life_support.cpp: In function ‘PyObject*
 boost::python::objects::make_nurse_and_patient(PyObject*, PyObject*)’:
 libs/python/src/object/life_support.cpp:94:43: warning: dereferencing
 type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 libs/python/src/object/life_support.cpp:96:43: warning: dereferencing
 type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8523>
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:13 UTC