Fallthru warnings from gcc in 9.11.29
Compiling 9.11.29 with gcc 8.1.0 (or later) results in a number of warnings of the form:
warning: this statement may fall through [-Wimplicit-fallthrough=]
-Wimplicit-fallthrough=3
is enabled by -W
(-Wextra
), which configure includes.
These can be annoying - but they can also indicate bugs. Most experienced C coders are careful, but anyone can slip up. They're worth cleaning up.
See https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html for a complete description of the option.
Use comments like /* FALLS THROUGH */
for legitimate cases. (There's a regexp in the doc listing alternative tags.) */
BIND 9.11.29 (Extended Support Version) <id:a35739f>
built by make with '--cache-file=../bind-config.cache' '--with-libtool' '--with-openssl=/usr/local/ssl' '--prefix=/usr' '--enable-largefile' '--with-zlib' '--enable-full-report' '--with-readline=-lreadline -lncurses' '--with-libxml2=/usr' '--with-python=/usr/local/bin/python3' '--with-libjson=/usr/local' '--with-lmdb' '--disable-linux-caps' 'LDFLAGS=-L/usr/local/lib'
compiled by GCC 8.1.0