Cygwin: cygserver: build with -Wimplicit-fallthrough=5

Define the pseudo keyword 'fallthrough' in woutsup.h to support this.
This commit is contained in:
Ken Brown
2020-08-07 09:48:28 -04:00
parent 1be41b802a
commit 225d376b70
4 changed files with 5 additions and 3 deletions

View File

@ -120,7 +120,7 @@ ipcexit_hookthread (const LPVOID param)
{
case WAIT_OBJECT_0:
/* Cygserver shutdown. */
/*FALLTHRU*/
fallthrough;
case WAIT_OBJECT_0 + 1:
/* Process exited. Call semexit_myhook to handle SEM_UNDOs for the
exiting process and shmexit_myhook to keep track of shared