Support for universal character
debugger_gcc
ashay.raut@tcs.com
Mon Feb 8 17:51:00 GMT 2010
hello,
For the scenario where i declare a variable as
int \uA0A0; // in a C program
i get an error with message
error: universal character \uA0A0 is not valid in an identifier
when compiled using gcc-4.4.1 on linux.
However C99 standards specify only the following constraints on universal
characters :
Section 6.4.3 ISO/IEC 9899:TC3
" A universal character name shall not specify a character whose short
identifier is less than
00A0 other than 0024 ($), 0040 (@), or 0060 (‘), nor one in the range D800
through
DFFF inclusive.62) "
so why doesnt gcc 4.4.1 throws an error saying "its not valid in an
identifier"?
Does gcc enforce some additional constraints regarding the usage of
universal character in C program?
--
View this message in context: http://old.nabble.com/Support-for-universal-character-tp27498030p27498030.html
Sent from the gcc - Help mailing list archive at Nabble.com.
More information about the Gcc-help
mailing list