-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
In a ROCK installation, I am using a c++11 type within a struct and get an error such as
In file included from /usr/lib/gcc/x86_64-linux-gnu/6.3.0/../../../../include/c++/6.3.0/tuple:35:
/usr/lib/gcc/x86_64-linux-gnu/6.3.0/../../../../include/c++/6.3.0/bits/c++0x_warning.h:32:2: 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 \
^
1 error generated.
when building an orogen component using this type. I found that it works when calling castxml with "-std=c++11". I tried to set TYPELIB_CASTXML_DEFAULT_OPTIONS using export and using Autobuild's package.define method, but the option is not respected. Hard-coding the option into typelibs ruby bindings for calling castxml works.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels