From: Zbigniew Jędrzejewski-Szmek Date: Mon, 20 Nov 2017 11:14:47 +0000 (+0100) Subject: meson: add -Wimplicit-fallthrough=3 to compilation options (#7393) X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=72aaa5b9602e063a231d530403d29efadf25a51a;p=elogind.git meson: add -Wimplicit-fallthrough=3 to compilation options (#7393) At some point before gcc-7 was released, -Wimplicit-fallthrough=3 was included in -Wextra. The documentation for gcc-7.2.1-2.fc27.x86_64 still says that, but empirical testing shows that it's not. The documentation also misstates that -Wimplicit-fallthrough is equivalent to -Wimplicit-fallthrough=3. Let's add -Wimplicit-fallthrough=3 explicitly to get the warnings if we regress. Prompted by #7389. ---