We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When compiling a simple sketch in platformio with #include <Arduino.h> the following error comes up:
#include <Arduino.h>
[...]\toolchain-gccarmnoneeabi\arm-none-eabi\include\c++\4.8.4\bits\basic_string.h: In member function 'int std::basic_string<_CharT, _Traits, _Alloc>::compare(const std::basic_string<_CharT, _Traits, _Alloc>&) const': [...]\framework-arduinosam\system\sam\libsam/include/USB_device.h:364:25: error: expected unqualified-id before '(' token #define Min(a, b) (((a) < (b)) ? (a) : (b)) ^
The macro seems perfect and I never use it in my code, so what could have gone wrong?
The text was updated successfully, but these errors were encountered:
Could you provide a simple PlatformIO project to reproduce this issue?
Sorry, something went wrong.
It now compiles! Perhaps it's a bug in VS Code?
No branches or pull requests
When compiling a simple sketch in platformio with
#include <Arduino.h>
the following error comes up:
The macro seems perfect and I never use it in my code, so what could have gone wrong?
The text was updated successfully, but these errors were encountered: