ROS Resources: Documentation | Support | Discussion Forum | Service Status | Q&A answers.ros.org
Ask Your Question
0

annoying warnings for OcTreeBaseImpl.h/OcTreeIterator.hxx

asked 2014-09-18 10:47:28 -0500

sk2009 gravatar image

updated 2014-09-18 11:01:43 -0500

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 {
          ^
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-10-15 21:19:27 -0500

arntanguy gravatar image

I submitted a pull request, and it has been merged. Of course you ought to have done that last year in the first place ;)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-09-18 10:47:28 -0500

Seen: 56 times

Last updated: Sep 18 '14