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: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Dec 2004 14:23:23 -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 joseph at codesourcery dot com 2004-12-16 14:23 -------
Subject: Re: UCNs not recognized in identifiers
(c++/c99)
On examination of the different lists in C and C++, I'd add the use of
UCNs accepted in one language only to the cases that should receive a
default warning (identifiers not in NFKC receiving such a warning as
well). Most extreme, but assuring any case which might have a
compatibility problem is warned for, would be also to warn for any
character with a canonical or compatibility decomposition and for any
character with nonzero combining class.
This area is just one of many where C and C++ give programmers more than
enough rope to hang themselves. In general we give due warning in such
cases then let the programmers go ahead if they really want to.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9449