-
Notifications
You must be signed in to change notification settings - Fork 67
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
builtin.h does not compile with Arduino IDE g++ #43
Comments
Trying at home on Linux I can reproduce the problem using the g++ bundled with the Arduino IDE v1.8.16
|
Which leads me to the central problem:
|
being equal to 64.
For
But in this environment,
Relevant extract from
the cplusplus.com article about limits.h states the following:
But even compiling with |
I am compiling psnip using the Arduino IDE for use on a Teensy, but it results in a compilation error when including
psnip/builtin/builtin.h
in a.cpp
file. When I include it in a.c
file it works fine, so that it suggests it has something to do specifically with C++.In another issue I've read that you intend to support C++, but that it's just less well-tested.
sample code:
How g++ is actually called by the Arduino IDE (newlines added for clarity):
The text was updated successfully, but these errors were encountered: