Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug #59536] Add support for wchar_t type #679

Open
avrs-admin opened this issue Jan 31, 2022 · 1 comment
Open

[bug #59536] Add support for wchar_t type #679

avrs-admin opened this issue Jan 31, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@avrs-admin
Copy link

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

@sprintersb sprintersb added the enhancement New feature or request label Mar 15, 2024
@sprintersb
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants