avr-libc icon indicating copy to clipboard operation
avr-libc copied to clipboard

[bug #59536] Add support for wchar_t type

Open avrs-admin opened this issue 3 years ago • 1 comments

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

avrs-admin avatar Jan 31 '22 03:01 avrs-admin

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.

sprintersb avatar Mar 15 '24 18:03 sprintersb