https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51437

--- Comment #18 from Pavel M <pavel.morozkin at gmail dot com> ---
(In reply to Jonathan Wakely from comment #17)
> (In reply to Josh Triplett from comment #5)
> > I'd like to see this as well.  While issuing such a warning by default would
> > cause numerous warnings with existing code, having it as an opt-in
> > -Wreserved-identifiers would help greatly.
> 
> Clang does this now, with -Wreserved-identifier (N.B. singular, not
> "identifiers")
Note that in Clang -Wreserved-identifier is not part of -Wall nor -Wextra. The
reason is "chattiness of the diagnostic in practice". Full answer:
https://github.com/llvm/llvm-project/issues/57913#issuecomment-1255493025.

Reply via email to