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


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