STLPORT help (96 Views)
Reply
Occasional Advisor
coolaqua
Posts: 9
Registered: ‎07-09-2006
Message 1 of 2 (96 Views)

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
Acclaimed Contributor
Dennis Handly
Posts: 25,303
Registered: ‎03-06-2006
Message 2 of 2 (96 Views)

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.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.