HP C B.11.11.16 Release Notes

HP C/ANSI C Release Notes
New Features in Version B.11.11.06
Chapter 1 19
New Features in Version B.11.11.06
HP C compiler version B.11.11.06 supports the following new features:
__FUNCTION__ Predefined Identifier
+ub Option
UTF-16 Character Support
-mt Option
__FUNCTION__ Predefined Identifier
__FUNCTION__ is a predefined pointer to char defined by the compiler, which points to the
name of the function as it appears in the source program.
NOTE __FUNCTION__ is same as __func__ of C99.
The implementation of __FUNCTION__ adheres to C99 (as per 6.4.2.2 Predefined Identifies)
standards.
+ub Option
The +ub option treats unqualified char, short, int, long and long long bitfields as
unsigned. This option has no effect on signedness of enum bitfields or on signedness of
non-bitfield character.
UTF-16 Character Support
The current compiler supports only ASCII strings or characters (8 bit chars with no
transliteration) as UTF-16. UTF-16 is described in the Unicode Standard, version 3.0
[UNICODE]. The definitive reference is Annex Q of ISO/IEC 10646-1 [ISO-10646].
Any string or character which is preceded by u is recognized as a UTF-16 literal or character
and is stored as an unsigned short type.
Example: