This is another attempt to remove the fallthrough warnings.  I decided to
redo the fallthrough maco.

 

The macro does look complex but I wanted something I could reuse something
in other work and I did not want to rely upon a "fall through" comment
because that is a hacky workaround and I prefer something that follows
syntax as much as possible.

 

The thing is that GCC 7.2.0 does tighten up on fallthrough by giving
warnings.  But some developers do the fallthrough deliberately and I suspect
that is the case her but please do review it in case it isn't.

 

 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to