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

Subject: [Boost-bugs] [Boost C++ Libraries] #5766: Uninitialized variable warnings with GCC 4.4.5-6
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-08-09 12:41:52


#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
 Keywords: |
------------------------------+---------------------------------------------
 Uninitialized variable warnings with Redhat GCC 4.4.5-6 (x86-64), Boost
 r73613:

 In file included from
 /shared/boost/trunk/stage/gcc-4.4.5-release/include/boost/geometry/algorithms/detail/overlay/overlay.hpp:21,
                  from
 /shared/boost/trunk/stage/gcc-4.4.5-release/include/boost/geometry/algorithms/detail/overlay/intersection_insert.hpp:27,
                  from
 /shared/boost/trunk/stage/gcc-4.4.5-release/include/boost/geometry/algorithms/difference.hpp:14,
                  from
 /shared/boost/trunk/stage/gcc-4.4.5-release/include/boost/geometry/geometry.hpp:47,
                  from
 /shared/boost/trunk/stage/gcc-4.4.5-release/include/boost/geometry.hpp:17,
                  from
 /home/wash/hpx/examples/geometry/point_geometry/server/point.cpp:16:
 /shared/boost/trunk/stage/gcc-4.4.5-release/include/boost/geometry/algorithms/detail/overlay/enrich_intersection_points.hpp:
 In member function ‘bool
 boost::geometry::detail::overlay::sort_on_segment_and_distance<TurnPoints,
 Indexed, Geometry1, Geometry2, Reverse1, Reverse2,
 Strategy>::operator()(const Indexed&, const Indexed&) const [with
 TurnPoints =
 std::deque<boost::geometry::detail::overlay::traversal_turn_info<boost::geometry::model::d2::point_xy<double,
 boost::geometry::cs::cartesian> >,
 std::allocator<boost::geometry::detail::overlay::traversal_turn_info<boost::geometry::model::d2::point_xy<double,
 boost::geometry::cs::cartesian> > > >, Indexed =
 boost::geometry::detail::overlay::indexed_turn_operation<boost::geometry::detail::overlay::traversal_turn_operation<boost::geometry::model::d2::point_xy<double,
 boost::geometry::cs::cartesian> > >, Geometry1 =
 boost::geometry::model::polygon<boost::geometry::model::d2::point_xy<double,
 boost::geometry::cs::cartesian>, true, true, std::vector, std::vector,
 std::allocator, std::allocator>, Geometry2 =
 boost::geometry::model::polygon<boost::geometry::model::d2::point_xy<double,
 boost::geometry::cs::cartesian>, true, true, std::vector, std::vector,
 std::allocator, std::allocator>, bool Reverse1 = false, bool Reverse2 =
 false, Strategy =
 boost::geometry::strategy::side::side_by_triangle<void>]’:
 /shared/boost/trunk/stage/gcc-4.4.5-release/include/boost/geometry/algorithms/detail/overlay/enrich_intersection_points.hpp:114:
 warning: ‘pi.boost::geometry::model::d2::point_xy<double,
 boost::geometry::cs::cartesian>::<anonymous>.boost::geometry::model::point<double,
 2ul, boost::geometry::cs::cartesian>::m_values[1ul]’ may be used
 uninitialized in this function [-Wuninitialized]
 /shared/boost/trunk/stage/gcc-4.4.5-release/include/boost/geometry/algorithms/detail/overlay/enrich_intersection_points.hpp:114:
 note: ‘pi.boost::geometry::model::d2::point_xy<double,
 boost::geometry::cs::cartesian>::<anonymous>.boost::geometry::model::point<double,
 2ul, boost::geometry::cs::cartesian>::m_values[1ul]’ was declared here
 /shared/boost/trunk/stage/gcc-4.4.5-release/include/boost/geometry/algorithms/detail/overlay/enrich_intersection_points.hpp:114:
 warning: ‘pi.boost::geometry::model::d2::point_xy<double,
 boost::geometry::cs::cartesian>::<anonymous>.boost::geometry::model::point<double,
 2ul, boost::geometry::cs::cartesian>::m_values[0ul]’ may be used
 uninitialized in this function [-Wuninitialized]
 /shared/boost/trunk/stage/gcc-4.4.5-release/include/boost/geometry/algorithms/detail/overlay/enrich_intersection_points.hpp:114:
 note: ‘pi.boost::geometry::model::d2::point_xy<double,
 boost::geometry::cs::cartesian>::<anonymous>.boost::geometry::model::point<double,
 2ul, boost::geometry::cs::cartesian>::m_values[0ul]’ was declared here
 /shared/boost/trunk/stage/gcc-4.4.5-release/include/boost/geometry/algorithms/detail/overlay/enrich_intersection_points.hpp:114:
 warning: ‘pj.boost::geometry::model::d2::point_xy<double,
 boost::geometry::cs::cartesian>::<anonymous>.boost::geometry::model::point<double,
 2ul, boost::geometry::cs::cartesian>::m_values[1ul]’ may be used
 uninitialized in this function [-Wuninitialized]
 /shared/boost/trunk/stage/gcc-4.4.5-release/include/boost/geometry/algorithms/detail/overlay/enrich_intersection_points.hpp:114:
 note: ‘pj.boost::geometry::model::d2::point_xy<double,
 boost::geometry::cs::cartesian>::<anonymous>.boost::geometry::model::point<double,
 2ul, boost::geometry::cs::cartesian>::m_values[1ul]’ was declared here
 /shared/boost/trunk/stage/gcc-4.4.5-release/include/boost/geometry/algorithms/detail/overlay/enrich_intersection_points.hpp:114:
 warning: ‘pj.boost::geometry::model::d2::point_xy<double,
 boost::geometry::cs::cartesian>::<anonymous>.boost::geometry::model::point<double,
 2ul, boost::geometry::cs::cartesian>::m_values[0ul]’ may be used
 uninitialized in this function [-Wuninitialized]
 /shared/boost/trunk/stage/gcc-4.4.5-release/include/boost/geometry/algorithms/detail/overlay/enrich_intersection_points.hpp:114:
 note: ‘pj.boost::geometry::model::d2::point_xy<double,
 boost::geometry::cs::cartesian>::<anonymous>.boost::geometry::model::point<double,
 2ul, boost::geometry::cs::cartesian>::m_values[0ul]’ was declared here

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