Skip to content

Conversation

emmenlau
Copy link
Contributor

@emmenlau emmenlau commented Oct 5, 2020

This PR adds a minor change for MSVC: I could not find a definition of __builtin_unreachable() on MSVC. Supposedly the equivalent for the Microsoft compiler is to use __assume(false). Tested with Visual Studio 2019 x64 using the Microsfot and the ClangCL compilers.

@d-frey d-frey merged commit e7fafe7 into taocpp:master Oct 6, 2020
@emmenlau
Copy link
Contributor Author

emmenlau commented Oct 6, 2020

Thanks!

@emmenlau emmenlau deleted the bda_fix_unreachable_msvc branch October 6, 2020 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants