Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
cancel
Showing results for 
Search instead for 
Did you mean: 

STLPORT help

Highlighted
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
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.