HP C B.11.11.16 Release Notes
HP C/ANSI C Release Notes
New Features in Version B.11.11.10
Chapter 1 13
New Features in Version B.11.11.10
HP C compiler version B.11.11.10 supports the following new features:
• Function Inlining
• +d Option
• UNIX95 Feature
Function Inlining
Now function inlining happens at all optimization levels, by default. Functions that should be
inlined by the compiler need to be tagged with the __inline keyword in -Ae mode (inline,in
-AC99 mode).
+d Option
This option disables function inlining at optimization levels less than +O3. Refer to Function
Inlining for more information.
UNIX95 Feature
Previously, if a search directory specified for -I or -L did not exist or was invalid, the cc driver
would ignore it silently and the compilation would proceed. This is inappropriate, since an
incorrect alternate library or include directory specified on the command line to override a
system one will never be detected.
Now, on encountering a search directory on the command line, which, either does not exist or
has invalid permissions, an error is flagged and the compilation is aborted. This behavior is
applicable only in strict ANSI mode when either UNIX_STD=95 or UNIX_STD=98 or UNIX95=1
has been set in the environment and only when the compiler has been invoked as c89.