OCCI/OCI and aCC compilation problems under HP-UX 
Author Message
 OCCI/OCI and aCC compilation problems under HP-UX

Hi All.

I've been writing soem software using the OCCI, and under linux
everything compiles and runs just fine. I now need to be able to
compile my apps under HP-UX, as our production database is on that

I can't compile my apps or even the demo OCCI apps under HP-UX though
! (although non-occi apps using the aCC compiler compile fine) When I
do a "make", I always get the following errors:

Error 134: "/opt/aCC/include/limits", line 101 # Expected 2 arguments
for macro 'min'.
static inline T min () RWSTD_INLINE_NO_THROW { return

(few more errors here)

Error 445: "/opt/aCC/include/limits", line 101 # Cannot recover from
earlier errors.
static inline T min () RWSTD_INLINE_NO_THROW { return

To narrow the problem down, I wrote a simple program that just uses
cout to print a line to stdout. It compiles fine, except when I
include occi.h, then the above errors appear again ! There seems to be
a problem once the oci.h header file is included and then afterwards I
include C++ standard headers such as <string>.

I am using Oracle9i under HP-UX with aCC version B3910B A.03.13.

Has anyone else had this problem under HP-UX ??

Any help/advice would be greatly appreciated.



Fri, 13 Aug 2004 22:41:42 GMT
 [ 1 post ] 

 Relevant Pages 

1. Linking problems for OCI/Pro*C on HP-UX using aCC

2. 19812-AZ-Phoenix-HP-9000-HP-UX-ORACLE-BAAN--HP-UX, Oracle DBA, Baan

3. 19812-AZ-Phoenix-HP-9000-HP-UX-ORACLE-BAAN--HP-UX, Oracle DBA, Baan

4. 19812-AZ-Phoenix-HP-9000-HP-UX-ORACLE-BAAN--HP-UX, Oracle DBA, Baan

5. 19812-AZ-Phoenix-HP-9000-HP-UX-ORACLE-BAAN-HP-UX, Oracle DBA, Baan

6. Compilation errors when building TCL interface on HP-UX 11

7. compilation error on ingres II HP-UX 10.20

8. NC-WINSTON-115025--Crystal Reports-HP-UX-ORACLE-Visual Basic- Programmer/Analyst (HP-UX)

9. 18004-Nationwide-HP-HP-9000-HP-UX-HP Speedware-PowerHouse-Amisys-PowerBuilder-Vi

10. 18004-Nationwide-HP-HP-9000-HP-UX-HP Speedware-PowerHouse-Amisys-PowerBuilder-Vi

Powered by phpBB® Forum Software