annoying warnings for OcTreeBaseImpl.h/OcTreeIterator.hxx
I'm building MoveIt from source (indigo-devel branch for most packages), and getting this warnings everywhere (because octomap in included everywhere). Is there a fix for octomap to get rid of them?
I'm using OSX 10.9, and Clang 5.1
In file included from /opt/ros/indigo/include/octomap/octomap.h:37:
In file included from /opt/ros/indigo/include/octomap/OcTree.h:38:
In file included from /opt/ros/indigo/include/octomap/OccupancyOcTreeBase.h:44:
/opt/ros/indigo/include/octomap/OcTreeBaseImpl.h:262:11: warning: class member
cannot be redeclared [-Wredeclared-class-member]
class leaf_iterator;
^
/opt/ros/indigo/include/octomap/OcTreeIterator.hxx:260:11: note: previous
declaration is here
class leaf_iterator : public iterator_base {
^