Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP aC++ Version A.01.07 Release Notes: HP Series 9000 > Chapter 4 Problem Descriptions and Fixes and Known Limitations

Known Problems

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

Customers on support can use the product number to assist them in finding SSB and SRB reports for HP aC++. The product number you can search for is B3910BA.

To verify the product number and version for your HP aC++ compiler, execute the following HP-UX commands:

what /opt/aCC/lbin/ctcom

what /opt/aCC/bin/aCC

To verify the product number and version for the linker:

what /opt/aCC/bin/ld

To verify the product number and version for the shared library initializer:

what /usr/lib/aCC/dld.sl

Following are known problems and workarounds.

Unsatisfied Symbols if Using Non-current Support Library

If you see a message like the following, 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 or a newer version of the libCsup run-time library as you. If necessary, you should install the most current HP aC++ library support patch and distribute this patch to your customers.As of the date of these release notes, the most current library support patch number is: PHSS_12609

Syntax Errors when Using /usr/include/sys/time.h

If you see the following error message, it means that CLOCKS_PER_SEC is not defined:

Error 171: "7198.C", line 2 # Undeclared variable 'CLOCKS_PER_SEC'.  int i = CLOCKS_PER_SEC;
^^^^^^^^^^^^^^

The workaround is to modify the /usr/include/sys/time.h file as follows:

  1. Find the first occurence of:

    #endif /* _INCLUDE__STDC__ */
  2. Immediately before the first occurence of the above line, add the following code, replacing SomeValue with the value you need (1000000 would be the system default):

    #else
    #ifdef __cplusplus
    #define CLOCKS.PER_SEC SomeValue
    #endif

The /usr/include/sys/time.h file contains a K & R style function declaration for which HP aC++ generates an error like the following:

Error 43: "/usr/include/sys/time.h", line 487 # C++ does not allow
Old-style (non-prototype) function definitions.

To workaround, whenever time.h is included by a source program, you can define the __STDC__ macro on your command-line, as in the following example:

aCC -D__STDC__

Or you can install the appropriate patch listed below:

PHKL_8691    series 700    HP-UX 10.10
PHKL_8692 series 800PHKL_8693 series 700 HP-UX 10.20
PHKL_8694 series 800

HP aC++ generatres an error like the following stating that structs or any types cannot be declared extern.

Error 608: "/usr/include/sys/time.h", line ??? # Types may not be
declared static, auto, register, extern or mutable.
extern struct sigevent;
^^^^^^^^^^^^^^^^^^^^^^

The error is caused by a problem in the /usr/include/sys/time.h file. To workaround, you can change the line extern struct sigevent; in the time.h file to:

struct sigevent;

Or you can install the appropriate patch listed below:

PHKL_7962    series 700    HP-UX 10.20
PHKL_7963 series 800

Syntax Problems when Using /usr/include/math.h

To resolve a conflict between the exception struct in /usr/include/sys/math.h and the aC++ exception struct, the workaround is to modify the /usr/include/math.h file as follows:

  1. Find the line:

    #define _MATH_INCLUDED
  2. Immediately following the above line, add the next line:

    #define exception math_exception
  3. Find the line:

    #endif /* _MATH_INCLUDED */
  4. Immediately before the above line, add this line:

    #undef exception

Alternatively, you can install the PHCO_9261 patch.

Warnings when using /usr/include/rpc/xdr.h

Compile-time warnings like the following should be ignored. They are caused by an incorrect prototype in the /usr/include/rpc/xdr.h file.

Warning 301: "/YourFileName/usr/include/rpc/xdr.h", line 276 # The
(...) parameter list is a non-portable feature.
extern bool_t xdrrec_eof(__o); /* true iff no more input */
Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1997 Hewlett-Packard Development Company, L.P.