Boost logo

Geometry :

Subject: Re: [geometry] warnings reported by Clang
From: Vishnu (vrang3_at_[hidden])
Date: 2012-01-11 14:15:06


Hi Barend,

The warning

/usr/devsrc/boost_1_47_0/boost/geometry/strategies/concepts/area_concept.hpp:52:13:
warning: variable 'str' is uninitialized when used here [-Wuninitialized]
            str->apply(*sp, *sp, *st);

also shows up in the boost-geometry included with boost_1_47_0. Can the
pointers be initialized with default values of 0 to eliminate the clang
warning? The files generating the warnings are:

Files generating the error:
area_concept.hpp
within_concept.hpp
simplify_concept.hpp
distance_concept.hpp

Vishnu

--
View this message in context: http://boost-geometry.203548.n3.nabble.com/warnings-reported-by-Clang-tp2921152p3651540.html
Sent from the Boost Geometry mailing list archive at Nabble.com.

Geometry list run by mateusz at loskot.net