English 中文(简体)
C++ AIX中的相竞旗:-qlanglvl=newexcp工程,除非我添加——q64用于64bit编纂——为什么?
原标题:C++ Compiler flags in AIX: -qlanglvl=newexcp works unless I add -q64 for 64bit compiling - why?
  • 时间:2012-01-11 17:17:00
  •  标签:
  • aix
  • flags

So I m adding an exception to an existing project but have run into an issue. I have the following compiler flags:

OC_COMPFLAGS =  -c $(OC_DEBUG_COMPFLAGS) **-q64** -qcpluscmt -qinitauto=00 $(OC_OPT_COMPFLAGS) -D_RWCONFIG_8d -DXML_LIBRARY **-qlanglvl=ansifor:newexcp** -qlonglong -qfuncsect -bnoquite -bloadmap -qnamemangling=v8

The newexcp flag works perfectly except when we add in the -q64 flag - at which point it stops working. Does anyone have an idea why?

问题回答

这一点可以适用:http://www-01.ibm.com/support/docview.ws?uid=swg1IY20996“rel=“nofollow”http://www-01.ibm.com/support/docview.ws?uid=swg1IY20996:

"The user can get new to throw exceptions by adding the following call to their program: __set_new_throws_exception(true);





相关问题
strndup call is currupting stack frames

I have seen a strange behavior with "strndup" call on AIX 5.3 and 6.1. If I call strndup with size more than the size of actual source string length, then there is a stack corruption after that call. ...

How can I get the uptime of a IBM AIX box in seconds?

I m writting a Perl script for which I need the uptime in seconds to do some calculation, in all the machine in the shop (i.e. linux, SunOS, and AIX). I have a way to get the uptime for linux (/proc/...

How to find dll loaded by a process in AIX?

How to find which dynamic libs .so are loaded currently by a process, also those dll are dynamically loaded with dllopen. I want to debug a process to find out which libs its using currently.

SNMP on AIX 5.3

I need to monitor a system with AIX 5.3, but can t find a good source for the OIDs. Does anybody know the OIDs for CPU, Memory and Harddisk values?

Unix: fast remove directory for cleaning up daily builds

Is there a faster way to remove a directory then simply submitting rm -r -f *directory* ? I am asking this because our daily cross-platform builds are really huge (e.g. 4GB per build). So the ...

热门标签