[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)
gdr at integrable-solutions dot net
gcc-bugzilla@gcc.gnu.org
Sat Jan 8 04:45:00 GMT 2005
------- Additional Comments From gdr at integrable-solutions dot net 2005-01-08 04:45 -------
Subject: Re: UCNs not recognized in identifiers (c++/c99)
"joseph at codesourcery dot com" <gcc-bugzilla@gcc.gnu.org> writes:
| 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).
Joseph --
You said you resent your message to c++std-compat. I don't believe
it ever appeared on that list. Please, could you double-check?
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9449
More information about the Gcc-bugs
mailing list