HP aC++ Release Notes Version A.03.95 (5900-1789; September 2011)

HP aC++ Release Notes
New Features in Version A.03.33
Chapter 1 49
$ ls
a.c incl/ mk
$ ls incl
f.h x.h y.h
$ cat a.c
#include “incl/f.h”
$ cat incl/f.h
#include “incl/y.h”
#include “x.h”
$ cat incl/x.h
int x;
$ cat incl/y.h
int y;
$ aCC -c -I. a.c
$ # previous versions of aC++
$ aCC -c -I. -I- -I. a.c
“./incl/f.h”, line 2: Error: Could not open include file “x.h”.
NOTE Note that a.c compiles fine with -I. but with -I. -I- -I. it fails to find x.h in -I.
With the prefixinclude feature in effect, the subdirectory prefix (in this case incl) is inherited from the
including file for #include “...” style includes. So, if an including file was included as
“prefix/includer” or <prefix/includer> then a file “includee” included by
“prefix/includer” is first searched for using “prefix/includee”, and if that fails, is next searched
for using “includee”. Using each of appropriate -I paths.
Searches for #include <...> files are not affected by prefixinclude, only #include “...” file
searches have been enhanced.
Improved Optimization for HP_LONG_RETURN and +DA1.1
The code for HP_LONG_RETURN and +DA1.1 has been optimized when +Oentrysched is used. (Code for
non-static member functions always turns on HP_LONG_RETURN). Note that +Oentrysched may cause
problems when using +eh, so is only recommended if using +noeh.