Closed
Description
Hello everyone!
I need 8-bit types ("hh" length specifiers) when using scanf / printf, but they aren't enabled by default.
I could conclude it by looking at the headers:
inttypes.h
stdint.h
stdio.h
newlib.h
and noted the macro_WANT_IO_C99_FORMATS
must be defined to enable them.
Reading the docs https://sourceware.org/newlib/README, before I compile the newlib, I must configure it with the flag --enable-newlib-io-c99-formats
, but I don't know how to proceed, where I should do it, how to compile it, I couldn't easily find information about this.
Is there a "simpler"/"easier" way to enable 8-bit types?