Joerg Wunsch
2018-03-10 16:01:22 UTC
error: format '%S' expects argument of type 'wchar_t*', but argument 2
has type 'const char*' [-Werror=format=]
printf("%S:%u\n", name, i);
Then do as suggested, and turn off compiler warnings (and -Werror) forhas type 'const char*' [-Werror=format=]
printf("%S:%u\n", name, i);
this.
And "just for fun" I would like to know how to print wide characters
You can't. avr-libc doesn't implement wide chars in any way.--
cheers, Joerg .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)
cheers, Joerg .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)