diff options
author | Shawn Landden <slandden@gmail.com> | 2017-11-19 10:06:10 -0800 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-11-19 10:06:10 -0800 |
commit | 7bfd0375e4573bbd65deb08511c7cd4a4ffa275c (patch) | |
tree | 8726af7bef705d732034afeab0c62c4e24218a83 /src/basic/macro.h | |
parent | 4f8c80e3fb7eaf0d67648bdd8e586925d3bf5d1d (diff) |
tree-wide: adjust fall through comments so that gcc is happy
Distcc removes comments, making the comment silencing
not work.
I know there was a decision against a macro in commit
ec251fe7d5bc24b5d38b0853bc5969f3a0ba06e2
Diffstat (limited to 'src/basic/macro.h')
-rw-r--r-- | src/basic/macro.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/macro.h b/src/basic/macro.h index a51562db3..34e0657ac 100644 --- a/src/basic/macro.h +++ b/src/basic/macro.h @@ -47,6 +47,7 @@ #define _weakref_(x) __attribute__((weakref(#x))) #define _alignas_(x) __attribute__((aligned(__alignof(x)))) #define _cleanup_(x) __attribute__((cleanup(x))) +#define _fallthrough_ __attribute__((fallthrough)) /* Temporarily disable some warnings */ #define DISABLE_WARNING_DECLARATION_AFTER_STATEMENT \ |