HP aC++ A.03.80 Release Notes
HP aC++ Release Notes
Problem Descriptions and Fixes, and Known Limitations
Chapter 174
Conflict Between macros.h and numeric_limits Class (min and max)
If your code includes /usr/include/macros.h, the min and max macros defined in macros.h
conflict with the min and max functions defined in the numeric_limits class of the Standard
C++ Library. The following code, for example, would generate a compiler Error 134:
numeric_limits<unsigned int>::max();
If you must use the macros.h header, try undefining macros that conflict:
...
#include <macros.h>
#undef max
#undef min
...
Unsatisfied Symbols if using Non-Current Runtime Support Library
If you see the following message, you may be using a non-current version of the HP aC++
run-time support library.
/opt/aCC/lbin/ld: Unsatisfied symbols:
Class tables [Vtable] dependent on key function:
"__versioned_type_info::~__versioned_type_info()" (data)
For example, if you are a library distributor, you must ensure that your customers use the
same version or a newer version of the libCsup runtime library. If necessary, you should
install the most current HP aC++ library support patch and distribute this patch to your
customers.
Unsatisfied Symbols for Inline Template Functions
If you use explicit instantiation instead of closing a library, and you compile with the
+inst_auto option, then unsatisfied symbols are generated for inline template functions that
are too large to inline.
Potential Binary Incompatibility of Objects Built with HP-UX v 10.10/10.20 HP aC++
The underlying type corresponding to the size_t typedef has changed from unsigned int to
unsigned long. Similarly, ptrdiff_t has changed from int to long. These changes make
the 10.10 and 10.20 HP aC++ runtime libraries incompatible with subsequent compiler
releases. The changes will cause compatibility problems when size_t is used in a non-extern
"C" interface. (The mangled signature would be different.)
Due to these changes, if object files are recompiled or linked, then all C++ files must be
recompiled. This implies that third party libraries in archive form also need to be recompiled
or resupplied.