Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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