Hi everyone,
I have a small issue with fixed integer formats in scanf. Whenever I try to read an uint8_t, using the %hhu format, I get this warning:
warning: unknown conversion type character 'h' in format [-Wformat=]| (Seems like is not recognizing the format)
The code is:
uint8_t codigo = 0;
scanf("%hhu", &codigo);
(Using CodeBlocks 20.03 in Windows 10 x64)