This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ Patch] PR 34927
- From: Paolo Carlini <pcarlini at gmail dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 8 Oct 2011 12:32:13 +0200
- Subject: Re: [C++ Patch] PR 34927
- References: <4E8F91A0.2030600@oracle.com> <4E9021F7.6010007@redhat.com>
Hi,
> This seems like it will only complain once per translation unit about virtual destructors.
Oops, sorry, but this specific issue could be solved rather easily by not using a static, right?
> How about instead of this flag, we look at which variant it is and only complain about one of them, perhaps the base?
Yes, isn't simply not using a static a rather straightforward alternative?
Paolo