[cfe-commits] r78332 - in /cfe/trunk: include/clang/Basic/DiagnosticSemaKinds.td lib/Sema/SemaDeclCXX.cpp test/CXX/class/class.friend/p1.cpp
John McCall
rjmccall at apple.com
Thu Aug 6 14:20:05 PDT 2009
Eli Friedman wrote:
> We generally prefer to make a warning "Extension" rather than an
> "ExtWarn" outside of GNU mode.
>
You're right; I was just thinking that this seemed unnecessarily complex.
Ideally I would like a somewhat finer-grained way to report this — it's
not just some random gcc extension, it's a universally-blessed extension
that we should only treat as an error in a strict compliance mode. In
the absence of a good way to say that, treating it as an extension is okay.
John.
More information about the cfe-commits
mailing list