Older gcc compilers generate a warning when the attribute is used. I found out that GCC 7 will not produce a warning if comments such as /* fall-thru */ or /* FALLTHRU */ are used instead of the attribute [[fallthrough]]
leanpkg
doxygen src/Doxyfile