commit | 71de04134e3f614f4603d1731790314aa7716dc9 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Nov 13 13:06:02 2022 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Nov 14 11:14:02 2022 +0100 |
tree | c72a385017721cfc1b8c5f76bd3686ff52e7da32 | |
parent | 4bd53c397c67535bbf1bc67dcc60b49a1c5c3912 [diff] |
IMPORT: slz: define and use a __fallthrough statement for switch/case When the code is preprocessed first and compiled later, such as when built under distcc, the "fall through" comments are dropped and warnings are emitted. Let's use the alternative "fallthrough" attribute instead, that is supported by versions of gcc and clang that also produce this warning. This is libslz upstream commit 0fdf8ae218f3ecb0b7f22afd1a6b35a4f94053e2