[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)
joseph at codesourcery dot com
gcc-bugzilla@gcc.gnu.org
Sat Jan 8 04:11:00 GMT 2005
------- Additional Comments From joseph at codesourcery dot com 2005-01-08 04:11 -------
Subject: Re: UCNs not recognized in identifiers
(c++/c99)
Doug Gwyn has now said
It was certainly the original intent of C99 that identifiers would match
only if encoded identically. It would probably be wise for any importing
process to apply "canonicalization" to source code before it reaches the
compiler.
and Henry Spencer has said
The approach I ended up using in a non-C project was to say that (a) all
occurrences of an identifier must be encoded identically, and (b) it is
forbidden for two different identifiers to have the same normalized form
(for a suitable definition of normalization).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9449
More information about the Gcc-bugs
mailing list