Showing results for 
Search instead for 
Do you mean 

STLPORT help

Highlighted
Occasional Advisor

STLPORT help

Hello Everyone,
I am porting a linux code to HPUX. I am facing problem in porting stlport module. May be because of flags/#define mismatch. Need your help in identifying #defines or flags need to be set for HPUX.

ex:
__STL_NO_EXCEPTIONS
__STL_LONG_LONG __STL_NO_NEW_IOSTREAMS __STL_NATIVE_INCLUDE_PATH=$(GPLUSPLUS_INC) __STL_NO_OLD_HP_ITERATOR_QUERIES __STL_MINIMUM_DEFAULT_TEMPLATE_PARAMS=1

Where do I get info on what/which of the flags/#defines to be made for HPUX...

HPUX ver: 11.31_LR (IA)
aCC: HP C/aC++ B3910B A.06.12 [Nov 03 2006]

Thanks in Advance
1 REPLY
Acclaimed Contributor [Founder]

Re: STLPORT help

Why do you want to use STLPORT instead of just using aCC -AA?

>__STL_NO_EXCEPTIONS

I'm not sure why you would need this.

__STL_LONG_LONG

aC++ supports long long.

>__STL_NO_OLD_HP_ITERATOR_QUERIES

Don't know about this.

>__STL_MINIMUM_DEFAULT_TEMPLATE_PARAMS=1

I assume you can have any number.