[ragel] [PATCH] document fall-through cases in a generated code
thurston at colm.net
Wed Aug 23 18:38:51 UTC 2017
Hi Rinat, does gcc suppress the error if a comment is seen, or is this
only for a developer who looks at the warning and then code?
On 2017-08-21 17:24, Rinat Ibragimov wrote:
> GCC7's Wimplicit-fallthrough diagnostics triggers a lot on generated C
> code in "-G2" mode. It was intended to catch errors, in hope that
> developer would document places where code is intended to fall through
> case statement. But currently there are no such comments in a generated
> Patch is against ragel-6 branch.
> ragel mailing list
> ragel at colm.net
More information about the ragel-users