This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++] Coding rule enforcement
- From: Nathan Sidwell <nathan at acm dot org>
- To: Richard Biener <richard dot guenther at gmail dot com>
- Cc: Jason Merrill <jason at redhat dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 15 Sep 2015 09:28:54 -0400
- Subject: Re: [C++] Coding rule enforcement
- Authentication-results: sourceware.org; auth=none
- References: <55F816F2 dot 5010209 at acm dot org> <CAFiYyc1yZnWf35p+w_eKXnKZOaAj9pgXufk8Ba53wH8dttJSjg at mail dot gmail dot com>
On 09/15/15 09:26, Richard Biener wrote:
Wouldn't warning flags be better so you can decide whether it's an error
or a warning via -Werror=virtual-inheritance vs. -Wvirtual-inheritance?
I agree. I didn't know of the -Werror=FOO trick to make them individually errors.
nathan