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: "geoffk at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Sep 2005 22:34:47 -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 geoffk at gcc dot gnu dot org 2005-09-15 22:34 -------
(In reply to comment #39)
> Another reason why spelling needs preserving (in addition to implementing #
> correctly) is for the constraints on duplicate macro definitions.
>
> #define foo \u00c1
> #define foo \u00C1
>
> is invalid (different spelling in replacement), as is
We discussed this on the list and decided that this was probably a defect in the C standard, since the
Rationale says that the kind of implementation we have now is supposed to be permitted, and jsm said
he'd file a DR. How's that going?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9449