forked from boostorg/config
Merge pull request #269 from Kojoley/msvc-unreachable-return
Expand BOOST_UNREACHABLE_RETURN to __assume(0) on MSVC
This commit is contained in:
@@ -43,6 +43,9 @@
|
|||||||
# error "Compiler not supported or configured - please reconfigure"
|
# error "Compiler not supported or configured - please reconfigure"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// VS2005 (VC8) docs: __assume has been in Visual C++ for multiple releases
|
||||||
|
#define BOOST_UNREACHABLE_RETURN(x) __assume(0)
|
||||||
|
|
||||||
#if _MSC_FULL_VER < 180020827
|
#if _MSC_FULL_VER < 180020827
|
||||||
# define BOOST_NO_FENV_H
|
# define BOOST_NO_FENV_H
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user