-
Jacob Vosmaer authored
It appears that [[fallthrough]] is valid in C++ but not in C. And in some Clang versions (e.g. Clang 11 on macOS), Clang is pedantic about this and considers it an error to use [[fallthrough]] in a .c file such as src/util/format.c. This changes makes gcc_fallthrough a no-op under Clang in C files.
dca05193
| Name |
Last commit
|
Last update |
|---|---|---|
| android | ||
| build | ||
| doc | ||
| python/build | ||
| src | ||
| systemd | ||
| test | ||
| win32 | ||
| .gitignore | ||
| .travis.yml | ||
| AUTHORS | ||
| COPYING | ||
| NEWS | ||
| README.md | ||
| meson.build | ||
| meson_options.txt | ||
| mpd.svg | ||
| valgrind.suppressions |