Christian wrote:
> gcc 7.2 enables -Wimplicit-fallthrough
> It emits a couple of warnings when using this. So add a couple of more
> /* FALLTHROUGH */ comments and use /* FALLTHRU */ consistently accross
> the codesbase.
>
> Note also, that the comment must come last before the next case
> statement, even after #ifdefs (so in 1 or 2 cases, I had to move the
> comments after a #ifdef statement).
>
> This blog article has some more details:
> https://developers.redhat.com/blog/2017/03/10/wimplicit-fallthrough-in-gcc-7/
Thanks!
--
MARTHA'S WAY: Don't throw out all that leftover wine. Freeze into ice cubes
for future use in casseroles and sauces.
MY WAY: What leftover wine?
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.