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'm all for reducing false positives whenever possible and we can improve out comment-parsing heuristics, but I just can't see us handling anything other than English. Marek