cxx icon indicating copy to clipboard operation
cxx copied to clipboard

C++: Fix build on no-except compilers

Open snailspeed3 opened this issue 2 years ago • 0 comments

This fix was necessary for my project (C++ depending on Rust) to compile. The approach here is conservative, only deferring from the existing behavior when the compiler explicitly does not support exceptions via feature-test macros. There may be other approaches here, like attempting to compile a test file with throw.

snailspeed3 avatar Feb 11 '23 22:02 snailspeed3