Open jonesmz opened 4 years ago
Well, IMO the only solution, for now, is use pragma
to suppress such warning there the macro is used.
Is that something you would accept as a PR?
For now I've had to disable the -Wfallthrough warning. Which I didn't want to do, but having the warning free build was better than keeping it active.
Is that something you would accept as a PR?
Yep, sure. Just take care of the previous Clang version and GCC that are used for CI.
I get this warning on both Clang++8, and Clang++9.
Issue also reported upstream to Boost: https://github.com/boostorg/asio/issues/310
I'm not sure how to fix this.