Support for universal character

Patrick Horgan phorgan1@yahoo.com
Tue Feb 9 02:41:00 GMT 2010


debugger_gcc wrote:
> 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
>   
If you back up to 6.4.2, you'll find out that a universal character 
can't be the first character of an identifier.

Patrick



More information about the Gcc-help mailing list