[Bug c++/109936] error: extended character ≠ is not valid in an identifier
adam at wozniakconsulting dot com
gcc-bugzilla@gcc.gnu.org
Tue May 23 00:39:29 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109936
--- Comment #15 from Adam Wozniak <adam at wozniakconsulting dot com> ---
(In reply to Jonathan Wakely from comment #6)
> ≠ cannot be used in an identifier, and it's none of the other forms either.
at the risk of beating a dead horse, what you are saying here is that ≠ simply
cannot be used, ever, anywhere, in C/C++.
that seems like kind of a waste. a whole raft of unicode characters that
simply cannot be used. so much for embracing unicode. Maybe someone wants to
name a variable "§32" for some reason, but can't because...
why exactly?
because the spec says so.
More information about the Gcc-bugs
mailing list