DGtal-team / DGtal

Digital Geometry Tools and Algorithm Library
https://dgtal.org
GNU Lesser General Public License v3.0
370 stars 115 forks source link

2d parametric shapes: gcc warnings #411

Closed troussil closed 12 years ago

troussil commented 12 years ago

In file included from /home/tristan/Documents/prog/DGtal_WC/DGtal/src/DGtal/shapes/parametric/Ball2D.h:236, from /home/tristan/Documents/prog/DGtal_WC/DGtal/src/DGtal/shapes/ShapeFactory.h:49, from /home/tristan/Documents/prog/DGtal_WC/DGtal/examples/geometry/curves/estimation/exampleCurvature.cpp:41: /home/tristan/Documents/prog/DGtal_WC/DGtal/src/DGtal/shapes/parametric/Ball2D.h: In constructor ‘DGtal::Ball2D::Ball2D(double, double, double) [with TSpace = DGtal::SpaceND<2u, int>]’: /home/tristan/Documents/prog/DGtal_WC/DGtal/examples/geometry/curves/estimation/exampleCurvature.cpp:199: instantiated from here /home/tristan/Documents/prog/DGtal_WC/DGtal/src/DGtal/shapes/parametric/Ball2D.h:171: warning: ‘DGtal::Ball2D<DGtal::SpaceND<2u, int> >::myRadius’ will be initialized after /home/tristan/Documents/prog/DGtal_WC/DGtal/src/DGtal/shapes/parametric/Ball2D.h:166: warning: ‘DGtal::PointVector<2u, double> DGtal::Ball2D<DGtal::SpaceND<2u, int> >::myCenter’ /home/tristan/Documents/prog/DGtal_WC/DGtal/src/DGtal/shapes/parametric/Ball2D.ih:52: warning: when initialized here

dcoeurjo commented 12 years ago

Should be ok in a pending pullrequest #447

dcoeurjo commented 12 years ago

fixed