This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]