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
arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1\arm-none-eabi\include\c++\4.8.3\cstdio:122:11: error: '::printf' has not been declared
It means that sketches targeting Due simply cannot use <algorithm>, which is not cool.
Commenting out the line #undef printf in the cstdio header solves the problem. Hopefully, this will get fixed and we won't have to patch the system headers.