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 24eb9bc commit 35e5b6cCopy full SHA for 35e5b6c
phongo_compat.h
@@ -54,6 +54,8 @@
54
55
#if PHONGO_GNUC_CHECK_VERSION(7, 0)
56
#define PHONGO_BREAK_INTENTIONALLY_MISSING __attribute__((fallthrough));
57
+#elif defined(__clang__) && __clang_major__ >= 12
58
+#define PHONGO_BREAK_INTENTIONALLY_MISSING __attribute__((fallthrough));
59
#else
60
#define PHONGO_BREAK_INTENTIONALLY_MISSING
61
#endif
0 commit comments