Skip to content

Commit

Permalink
moveit_ros/perception: address gcc6 build error
Browse files Browse the repository at this point in the history
Since gcc6, compiling fails with `stdlib.h: No such file or directory`,
as including '-isystem /usr/include' breaks since gcc6, cf.,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129.

This commit addresses this issue for this package in the same way
it was addressed in various other ROS packages. A list of related
commits and pull requests is at:

  ros/rosdistro#12783

Commit 4417f1e ("making some includes SYSTEM and re-adding link_directories")
on 2012-12-06 added the SYSTEM without providing any further
rationale for it.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
  • Loading branch information
bulwahn committed Jun 26, 2018
1 parent d3d8887 commit 7b7cbe3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions moveit_ros/perception/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@ include_directories(lazy_free_space_updater/include
${perception_GL_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
${catkin_INCLUDE_DIRS}
)
include_directories(SYSTEM
${OpenCV_INCLUDE_DIRS}
${EIGEN3_INCLUDE_DIRS}
${SYSTEM_GL_INCLUDE_DIR}
Expand Down

0 comments on commit 7b7cbe3

Please sign in to comment.