discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New style exception handling


From: Graham J Lee
Subject: Re: New style exception handling
Date: Tue, 12 Jun 2007 17:08:28 +0100

On 12 Jun 2007, at 16:55, Larry Campbell wrote:

On Jun 12, 2007, at 11:05 AM, Andrew Pinski wrote:

On 6/12/07, Larry Campbell <lcampbel@akamai.com> wrote:
Here's the program:

I'm compiling for and on linux 2.4 on a Pentium 4 processor. I am not
using gnustep-objc; I'm using the libobjc from gcc 4.1.

How are you compiling the program?  Are you using -fexceptions ?

I'm using the default settings provided by gnustep-make... which are:

-MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_RUNTIME=1 - DGNUSTEP_BASE_LIBRARY=1 -D_REENTRANT -fPIC -DGSWARN -DGSDIAGNOSE - Wall -Werror -g -O2 -fno-strict-aliasing -fgnu-runtime -fconstant- string-class=NSConstantString -I ../common/include -idirafter /usr/ include/c++/3.3/ext -I. -I/home/lcampbel/GNUstep/Library/Headers -I/ ghostcache/lcampbel/build/akamai/common/GNUstep/Local/Library/ Headers -I/ghostcache/lcampbel/build/akamai/common/GNUstep/System/ Library/Headers

Hmmm, no -fexceptions. But the program compiles OK. On Mac OS X (gcc 4.0.1), if I omit to say -fobjc-exceptions, I get a compile error.

If you configure gnustep-make with the "--enable-native-objc- exceptions" option, does this help?

Cheers,
Graham.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]