As avr-libc-...@nicohood.de wrote: > But I get the following compiler error: > 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) for 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. ;-) _______________________________________________ AVR-libc-dev mailing list AVR-libc-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-libc-dev