From 50ad1980858b1092ebdd8c3dd6ae14d72596eb4d Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 5 Aug 2020 21:58:22 +0200 Subject: [PATCH] Cygwin: Add 'fallthrough' pseudo keyword for switch/case use This patch has been inspired by the Linux kernel patch 294f69e662d1 compiler_attributes.h: Add 'fallthrough' pseudo keyword for switch/case use written by Joe Perches based on an idea from Dan Carpenter . The following text is from the original log message: Reserve the pseudo keyword 'fallthrough' for the ability to convert the various case block /* fallthrough */ style comments to appear to be an actual reserved word with the same gcc case block missing fallthrough warning capability. All switch/case blocks now should end in one of: break; fallthrough; goto