We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83cedd1 commit 0f5fafdCopy full SHA for 0f5fafd
osdep/compiler.h
@@ -46,7 +46,7 @@
46
#elif __has_builtin(__builtin_unreachable)
47
#define MP_ASSERT_UNREACHABLE() __builtin_unreachable()
48
#elif defined(_MSC_VER)
49
-#define MP_ASSERT_UNREACHABLE(msg) __assume(0)
+#define MP_ASSERT_UNREACHABLE() __assume(0)
50
#elif __STDC_VERSION__ >= 202311L
51
#include <stddef.h>
52
#define MP_ASSERT_UNREACHABLE() unreachable()
0 commit comments