This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Implement -Wimplicit-fallthrough (version 9)


On 09/27/2016 02:01 PM, Marek Polacek wrote:
On Tue, Sep 27, 2016 at 01:55:22PM +0200, Bernd Schmidt wrote:
On 09/27/2016 01:51 PM, Marek Polacek wrote:
But the C/C++ keywords are all English, too; lint tools only accept English,
and so it wouldn't seem unreasonable to only accept English keywords in the
comments.  And in any case, I don't see how a compiler can be expected to
be able to parse non-English languages.

It isn't. But it can also be reasonably by expected not to warn about things
that are valid according to the language specification and are frequently
used.

Ok, but note that the warning is in -Wextra, not enabled by default/-Wall.

I think it's problematic enough that it needs to be removed from -Wextra as well. The latest ia64 backend patch shows that clearly IMO.


Bernd


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]