Open ajraymond opened 3 years ago
Scanf is from the newlib library. If you think there is a bug, report it there.
I have started a thread at https://sourceware.org/pipermail/newlib/2021/018546.html
They are asking if newlib is built with C99 support in Teensy.
It uses -std=gnu++14
Hm, may be it was fixed already... did not think of that, sorry. Teensy uses a pretty old version.
You can try to update to gcc10 (+newer newlib) to see if that changes anything: https://github.com/TeensyUser/doc/wiki/GCC#Switching-between-different-toolchains
Using:
I have narrowed down an issue I am having with sscanf to the following snippet of code.
Depending on the order of my variables in the format string and arguments, the results are different.