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.