Skip to content
Snippets Groups Projects

Fix build on gcc-11

Merged Gijs Peskens requested to merge gcc11 into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -47,7 +47,7 @@ struct __attribute__((packed)) sname sbody;
#define RIST_MARK_UNUSED(unused_param) ((void)(unused_param))
#if defined(__GNUC__) && __GNUC__ >= 7
#define RIST_FALLTHROUGH __attribute__ ((fallthrough))
#define RIST_FALLTHROUGH ; __attribute__ ((fallthrough))
#else
#define RIST_FALLTHROUGH ((void)0)
#endif /* __GNUC__ >= 7 */
Loading