GCC soft limit for length of an identifier (C99 specification)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

Exists there a soft limit (warning when the limit is exceeded) when an
identifier is longer than 63 (intern) or 31 (extern) characters, when
at least the -std=c99 is set?

Extract from C99 specification in section 5.2.4.1:

- 63 significant initial characters in an internal identifier or a macro name (each universal character name or extended source character is considered a single character) - 31 significant initial characters in an external identifier (each universal character name specifying a short identifier of 0000FFFF or less is considered 6 characters, each universal character name specifying a short identifier of 00010000 or more is considered 10 characters, and each extended source character is considered the same number of characters as the corresponding universal character name, if any)

Source: http://port70.net/%7Ensz/c/c99/n1256.html#5.2.4.1

Kind regards,

Johannes

Attachment: publickey - johannes@krotti42.com - 0x0D55CF6F.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux