This PR enables c++11 standard which is required when compiling with Gazebo 7.
If the compiler option is not set the compile process fails with:
[ 83%] Built target moveit_move_group_default_capabilities
In file included from /usr/include/c++/5/random:35:0,
from /usr/include/ignition/math2/ignition/math/Rand.hh:20,
from /usr/include/ignition/math2/ignition/math.hh:18,
from /usr/include/sdformat-4.0/sdf/Param.hh:34,
from /usr/include/sdformat-4.0/sdf/Element.hh:24,
from /usr/include/sdformat-4.0/sdf/sdf.hh:5,
from /usr/include/gazebo-7/gazebo/common/Plugin.hh:42,
from /homeL/demo/ros/src/upstream/robotiq/robotiq_s_model_articulated_gazebo_plugins/src/RobotiqHandPlugin.cpp:35:
/usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
#error This file requires compiler and library support \
^
Additionally all thereby invalid const double expressions are changed to constexpr.
This PR enables c++11 standard which is required when compiling with Gazebo 7.
If the compiler option is not set the compile process fails with:
Additionally all thereby invalid
const double
expressions are changed toconstexpr
.