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

Can't compile with exceptions disabled #565

Open
sa2thoms opened this issue Apr 18, 2024 · 1 comment
Open

Can't compile with exceptions disabled #565

sa2thoms opened this issue Apr 18, 2024 · 1 comment

Comments

@sa2thoms
Copy link

My use-case is an embedded application where we have disabled all C++ exceptions (and all dynamic memory allocations - there is no operating system).
It looks like some of the string-formatting related code throws exceptions. I think there should be a way to compile without including any of the formatting code, so we can avoid this in our application and similar embedded applications.

@mpusz
Copy link
Owner

mpusz commented Apr 18, 2024

I totally agree. I thought that the macros added some time to format.h should do the job. If not, we should fix it.

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