[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)
neil at daikokuya dot co dot uk
gcc-bugzilla@gcc.gnu.org
Thu Sep 15 22:54:00 GMT 2005
------- Additional Comments From neil at daikokuya dot co dot uk 2005-09-15 22:53 -------
Subject: Re: UCNs not recognized in identifiers (c++/c99)
geoffk at gcc dot gnu dot org wrote:-
>
> ------- 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?
I very much doubt this is a defect. Just because it doesn't fit your
implementation...
Neil.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9449
More information about the Gcc-bugs
mailing list