Re: [Boost-bugs] [Boost C++ Libraries] #5766: Uninitialized variable warnings with GCC 4.4.5-6

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5766: Uninitialized variable warnings with GCC 4.4.5-6
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-02-27 09:20:59


#5766: Uninitialized variable warnings with GCC 4.4.5-6
-------------------------------+--------------------------------------------
  Reporter: wash | Owner: barendgehrels
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: geometry
   Version: Boost 1.47.0 | Severity: Cosmetic
Resolution: | Keywords:
-------------------------------+--------------------------------------------

Comment (by anonymous):

 I also have this problem.

 In file included from /dls/mx-scratch/upc86896/cctbx-
 svn/sources/cctbx_project/dxtbx/model/boost_python/detector.cc:20:
 /dls/mx-scratch/upc86896/cctbx-
 svn/sources/boost/boost/geometry/algorithms/disjoint.hpp: In static member
 function 'static bool
 dxtbx::model::MultiFlatPanelDetector::panels_intersect(const
 dxtbx::model::FlatPanelDetector&, const
 dxtbx::model::FlatPanelDetector&)':
 /dls/mx-scratch/upc86896/cctbx-
 svn/sources/boost/boost/geometry/algorithms/disjoint.hpp:62: warning:
 'p.boost::geometry::model::point<double, 3ul,
 boost::geometry::cs::cartesian>::m_values[1ul]' may be used uninitialized
 in this function
 /dls/mx-scratch/upc86896/cctbx-
 svn/sources/boost/boost/geometry/algorithms/disjoint.hpp:62: note:
 'p.boost::geometry::model::point<double, 3ul,
 boost::geometry::cs::cartesian>::m_values[1ul]' was declared here
 /dls/mx-scratch/upc86896/cctbx-
 svn/sources/boost/boost/geometry/algorithms/disjoint.hpp:62: warning:
 'p.boost::geometry::model::point<double, 3ul,
 boost::geometry::cs::cartesian>::m_values[0ul]' may be used uninitialized
 in this function
 /dls/mx-scratch/upc86896/cctbx-
 svn/sources/boost/boost/geometry/algorithms/disjoint.hpp:62: note:
 'p.boost::geometry::model::point<double, 3ul,
 boost::geometry::cs::cartesian>::m_values[0ul]' was declared here
 /dls/mx-scratch/upc86896/cctbx-
 svn/sources/boost/boost/geometry/algorithms/disjoint.hpp:62: warning:
 'p.boost::geometry::model::point<double, 3ul,
 boost::geometry::cs::cartesian>::m_values[1ul]' may be used uninitialized
 in this function
 /dls/mx-scratch/upc86896/cctbx-
 svn/sources/boost/boost/geometry/algorithms/disjoint.hpp:62: note:
 'p.boost::geometry::model::point<double, 3ul,
 boost::geometry::cs::cartesian>::m_values[1ul]' was declared here
 /dls/mx-scratch/upc86896/cctbx-
 svn/sources/boost/boost/geometry/algorithms/disjoint.hpp:62: warning:
 'p.boost::geometry::model::point<double, 3ul,
 boost::geometry::cs::cartesian>::m_values[0ul]' may be used uninitialized
 in this function
 /dls/mx-scratch/upc86896/cctbx-
 svn/sources/boost/boost/geometry/algorithms/disjoint.hpp:62: note:
 'p.boost::geometry::model::point<double, 3ul,
 boost::geometry::cs::cartesian>::m_values[0ul]' was declared here

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5766#comment:2>
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:12 UTC