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

--- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> ---
Agreed with comment #2 for reserved symbols that have non-reserved counterparts
(such as INT_MAX).  (If the set of non-reserved symbols changes depending on
options, e.g., with -std=c11 vs earlier modes, it would be a nice touch for the
hint to take it into consideration.)

But there are also quite a few reserved identifiers that have no equivalents in
the user namespace.  Examples include C/C++ standard macros such __STDC__,
__FILE__, etc., and GCC's own predefined macros such as _LP64 or built-ins like
__builtin_expect.  It's helpful for GCC to continue to suggest those when
appropriate.

Reply via email to