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

Use stdlib errorchecking #416

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Use stdlib errorchecking #416

wants to merge 2 commits into from

Conversation

mattkretz
Copy link
Collaborator

I extracted the two commits that enable stdlib facilities for improved error checking from the update-vir-simd-0.4 branch.

If we are serious about providing a build mode that can detect all detectable errors at run-time, then I believe these flags should be used.

Use _GLIBCXX_ASSERTIONS for libstdc++ and
_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE for libc++

Signed-off-by: Matthias Kretz <m.kretz@gsi.de>
Signed-off-by: Matthias Kretz <m.kretz@gsi.de>
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.

1 participant