Skip to content

Failure to generate with castxml for c++11 type within orogen #112

@vbargsten

Description

@vbargsten

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions