1752657 Members
5624 Online
108788 Solutions
New Discussion

STLPORT help

 
coolaqua
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 1
Dennis Handly
Acclaimed Contributor

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.