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

cerrno, system_error and charconv #6763

Closed
trcrsired opened this issue Jan 9, 2024 · 2 comments
Closed

cerrno, system_error and charconv #6763

trcrsired opened this issue Jan 9, 2024 · 2 comments

Comments

@trcrsired
Copy link

The errno.h is not in freestanding C. If we define our own errno numbers, it can create issues that flags -ffreestanding will not use the right to_chars due to the return type has a std::errc. Purely header reimplementation of charconv is too costly and encourages C++ standard libraries implementations not to support freestanding at all.

I suggest removing charconv completely from freestanding. or making errno and system_error not freestanding too.

@trcrsired
Copy link
Author

@ben-craig

@jwakely
Copy link
Member

jwakely commented Jan 9, 2024

This repo is for maintaining the draft and submitting editorial changes, not technical discussion.

@jwakely jwakely closed this as not planned Won't fix, can't repro, duplicate, stale Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants