Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jgfoster opened this issue Feb 15, 2021 · 0 comments
Open

Comments

@jgfoster
Copy link
Member

jgfoster commented Feb 15, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant