avr-libc
avr-libc copied to clipboard
[bug #59536] Add support for wchar_t type
Tue 24 Nov 2020 07:48:56 PM CET
wchar_t is not really supported by avr-libc. However even in embedded electronics there are sometimes cases were working with wide chars becomes necessary. To make this easier the C standard specifies a wchar.h header which provides wide variants of many other function specified in the standard library like strlen and printf
This issue was migrated from https://savannah.nongnu.org/bugs/?59536
There's at least one problem though. AVR-LibC's printf-like functions recognize %S
as an ordinary string located in flash, as opposed to the standard that uses %S
to specify wide strings.