This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)
- From: "gdr at integrable-solutions dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Jan 2005 04:45:21 -0000
- Subject: [Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)
- References: <20030127145600.9449.rearnsha@arm.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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