Skip to content

warning: unknown attribute 'error' ignored: __attribute__((error("")))  #9

@jgfoster

Description

@jgfoster

Code appears to compile correctly with the Arduino CLI compiler but not with the arduino_ci compiler. See https://gcc.gnu.org/onlinedocs/gcc-4.7.2/gcc/Function-Attributes.html.

Changing cpp_library.rb:497 from -std=c++0x to -std=c++11 solves this problem. See Arduino-CI/arduino_ci#146.

Furthermore, this is only a warning and if there are no errors then it is silently ignored so we can proceed.

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