| United States-English |
|
|
|
![]() |
HP-UX Systems: HP C/HP-UX Release Notes > Chapter 1 HP
C/HP-UX Release NotesNew Features in Version B.11.11.06 |
|
HP C compiler version B.11.11.06 supports the following new features: __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.
The implementation of __FUNCTION__ adheres to C99 (as per 6.4.2.2 Predefined Identifies) standards. 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. 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:
The new -mt option enables multi-threading capability without the need to set any other flags, such as -l and -D. HP C compiler sets the appropriate flags as required.
Following macros are used to compile multi-thread source code:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||