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: "neil at daikokuya dot co dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Sep 2005 22:58:40 -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 neil at daikokuya dot co dot uk 2005-09-15 22:58 -------
Subject: Re: UCNs not recognized in identifiers (c++/c99)
joseph at codesourcery dot com wrote:-
> I don't believe I said I'd file a DR unless I saw a defect. There is no
> defect because models A or C need to be implemented by an
> implementation-defined mapping (documented as such; we don't even document
> the removal of trailing whitespace from lines; of course anything
> replacing UCNs with the characters they designate only in certain places
> is a pain to document because it doesn't fit in with the C model of phases
> of translation). Doug Gwyn's reading in reflector message 10751,
>
> Yes, "spelling" is meant in terms of the source code characters.
> The idea is to permit simple strcmp-like checking by the preprocessor.
I think this is what we will need to do to fix the # and ## and spacing
bugs in macro replacements too - base the decision upon a memcmp or
strcmp.
Neil.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9449