jfpoilpret/fast-arduino-lib

IOS errors not always visible in `rdstate()`

jfpoilpret opened this issue · 1 comments

FastArduino example iostreams3 demonstrates this issue:
ios.rdstate() is 0 in case of:

  • buffer overflow
  • maybe other error conditions (to be verified individually)

Note: incorrect input formatting (failbit) is correctly transmitted.

Actually this issue was due to bugs in Queue implementation (free(), items(), full(), empty() have been rewritten and also optimized).
The bug is fixed sicne commit d4044ed