Operating System - Linux
1756384 Members
3310 Online
108847 Solutions
New Discussion

Re: HP-UX: C++ standard mode + debug

 
KittyWu
New Member

HP-UX: C++ standard mode + debug

Hello,

I'm trying to port a piece of software written in C++ on HP from the classic mode to the standard one and I have got some troubles...

After some investigations, it seems that enabling the debug mode ('-DRWDEBUG') is the primary origin of this: it first leads to a 'recursive exception' and finally, a "stack growth failure" error message is dumped.

It is quite easy to reproduce this problem:
. both copy the string.cpp sample and the Makefile from the aCC installation (.../aCC/contrib/Examples/RogueWave/stdlib/manual/),
. enable the debug and standard modes in the Makefile:
DBG=-DRWDEBUG=1 -g
DBGNAME=g
SPECIAL=-AA
. compile and link the sample ('make string'),
. run it.

Any help will be useful.

Many thanks,
Christophe


Context:
HP-UX 11iv1 (11.11)
aCC 3.45
1 REPLY 1
Dennis Handly
Acclaimed Contributor

Re: HP-UX: C++ standard mode + debug

You can't fiddle with ANY -DRW flags unless documented on any of the aC++ web pages. (Unless you purchase your own version from RW.)
In particular you can't use -DRWDEBUG.

These are about the only ones you can change:
http://www.docs.hp.com/en/7762/5991-4874/threads.htm