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

Warning unused qualifier in IteratorAdapter #308

Closed JacquesOlivierLachaud closed 11 years ago

JacquesOlivierLachaud commented 12 years ago

Since last image concept merge, I got the following warning with g++ 4.6 (macport):

[ 40%] Building CXX object tests/geometry/curves/representation/CMakeFiles/testSegmentation.dir/testSegmentation.cpp.o In file included from /Users/lachaud/GITHUB/DGtal/src/DGtal/base/SimpleRandomAccessRangeFromPoint.h:47:0, from /Users/lachaud/GITHUB/DGtal/src/DGtal/images/ImageContainerBySTLVector.h:52, from /Users/lachaud/GITHUB/DGtal/src/DGtal/io/Display2DFactory.h:58, from /Users/lachaud/GITHUB/DGtal/src/DGtal/io/boards/Board2D.h:441, from /Users/lachaud/GITHUB/DGtal/tests/geometry/curves/representation/testSegmentation.cpp:47: /Users/lachaud/GITHUB/DGtal/src/DGtal/base/IteratorAdapter.h:191:32: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]

dcoeurjo commented 12 years ago

I confirm: http://liris.cnrs.fr/dgtal/CDash/index.php?project=DGtal&date=2012-04-07

troussil commented 11 years ago

obsolete