Closed ghost closed 8 years ago
Building with GCC-6 causes errors such as:
`/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/cstdlib:75:25: fatal error: stdlib.h: No such file or directory
Including ${Boost_INCLUDE_DIR} or ${catkin_INCLUDE_DIRS} with-isystem has the effect of including -isystem /usr/include.
${Boost_INCLUDE_DIR}
${catkin_INCLUDE_DIRS}
-isystem
-isystem /usr/include
This breaks building with GCC-6.
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129
Also see https://github.com/ros/geometry/pull/130
Building with GCC-6 causes errors such as:
`/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/cstdlib:75:25: fatal error: stdlib.h: No such file or directory
include_next`
Including
${Boost_INCLUDE_DIR}
or${catkin_INCLUDE_DIRS}
with-isystem
has the effect of including-isystem /usr/include
.This breaks building with GCC-6.
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129
Also see https://github.com/ros/geometry/pull/130