You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that
#include <stdint.h>
is able to undef "min" and "max" previously defined. With this
commit we make sure that they are defined as last.
Fixarduino#10
Since this issue seems to resides in code now managed by the Boards Manager, what steps will be needed to update once the changes make their way into an hourly build? Will just getting the correct hourly build take care of it, or will I additionally need to use the Boards Manager to update the same core code?
Wayne
cmaglie
added a commit
to cmaglie/ArduinoCore-samd
that referenced
this issue
Jun 24, 2015
It seems that
#include <stdint.h>
is able to undef "min" and "max" previously defined. With this
commit we make sure that they are defined as last.
Fixarduino#10
Trying to compile code like this on the Zero:
results in "error: 'min' was not declared in this scope
'min' was not declared in this scope". Same problem for max().
Note: tested on 1.6.5 running on OS X.
The text was updated successfully, but these errors were encountered: