This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 1/3] Fix mismatched struct vs class tags.
On Thursday, November 24, 2016 06:50:30 PM Pedro Alves wrote:
> On 11/24/2016 05:45 PM, John Baldwin wrote:
>
> > Ok. At the moment we don't have a clang-specific warning set, but if we
> > add one we can add this to that.
>
> We likely don't need one. Our infrustruture checks whether a
> warning works before enabling it. See gdb/warning.m4.
Hmmm. The only odd case I can think of is -Wunused-function. Right now
clang triggers warnings when VEC() is used, so ideally -Wunused-function
would only be present for GCC and not for clang. I can look at adding
other -Wno-foo warnings for clang things we wish to ignore however.
--
John Baldwin