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 c7be9dc commit e4b225aCopy full SHA for e4b225a
spirv_reflect.c
@@ -28,7 +28,7 @@
28
#include <stdlib.h>
29
#endif
30
31
-#if defined(__clang__) || defined(__GNUC__) || defined(__APPLE_CC__)
+#if defined(__clang__) || (defined(__GNUC__) && __GNUC__ >= 7) || defined(__APPLE_CC__)
32
#define FALLTHROUGH __attribute__((fallthrough))
33
#else
34
#define FALLTHROUGH
0 commit comments