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

Set -fno-exceptions in CXXFLAGS #355

Closed
wants to merge 1 commit into from

Conversation

anuraaga
Copy link
Contributor

A while back, the idea to add no-exceptions to CXXFLAGS in the docker image came up but we held up to keep consistency with the cmake files

#271 (comment)

I thought it would be good to bring it up again with the cmake files also updated. AFAICT, when using wasi-sdk with C++ it almost always ends up the user's responsibility to set this as exceptions aren't supported, so it can be a bit easier by defaulting it

@sbc100
Copy link
Member

sbc100 commented Sep 27, 2023

Seems fairly reasonable. I wonder if this should be the default in clang?

@anuraaga
Copy link
Contributor Author

I wonder if this should be the default in clang?

Not sure what it would involve but seems like a great idea to me. Would we still consider this PR in the meantime or focus on that?

Also looks like will need #354 in for the CI

@anuraaga
Copy link
Contributor Author

Didn't get a response so am going to go ahead and close this.

@anuraaga anuraaga closed this Oct 16, 2023
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

Successfully merging this pull request may close these issues.

2 participants