This is the mail archive of the
mailing list for the GCC project.
Re: PATCH to C front-end: PR 21759
"Giovanni Bajo" <firstname.lastname@example.org> writes:
| Gabriel Dos Reis <email@example.com> wrote:
| > this patch is the first in a series for warning about ISO C constructs
| > that are outside the common subset of C and C++.
| I suggest to add different subflags for each specific warning:
Why would we do that? If we're ever going to say that a code is in
the subset, what the reasons why we would not warn about keywords,
cast, enums? I think we must not forget keeping the switches sizeable
(if we start properly categorizing Annex C and Annex D, we will end up
with quite a certain number of switches...)