This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 1/3] Fix "fall through" comments
On Tue, Sep 27, 2016 at 7:16 PM, Tom Tromey <tom@tromey.com> wrote:
> This patch updates existing "fall through" comments so that they can
> be recognized by gcc's -Wimplicit-fallthrough comment-parsing
> heuristic.
>
clang has -Wimplicit-fallthrough as well, but warnings are suppressed in
a different way. Do we need to suppress warnings generated by both gcc
and clang?
--
Yao (齐尧)