Crash with new-style exceptions on FreeBSD amd64

2007-03-14 Thread Michael Gardner
I'm having problems using new-style exceptions with GNUstep on FreeBSD 6.2 (amd64). I have the following program (main.m): #include Foundation/Foundation.h int main(int argc, char ** argv) { @try { @throw nil; } @catch (id thing) { printf(caught!\n);

Re: Crash with new-style exceptions on FreeBSD amd64

2007-03-14 Thread Sašo Kiselkov
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Helge Hess wrote: On Mar 14, 2007, at 21:46, Michael Gardner wrote: I'm having problems using new-style exceptions with GNUstep on FreeBSD 6.2 (amd64). Does GNUstep support @throw, @catch?? Thanks, Helge Yes, for almost two years

RE: Crash with new-style exceptions on FreeBSD amd64

2007-03-14 Thread Nicola Pero
make messages=yes will display exactly the command-line commands used to compile and link; you may want to try it out and compare those with the ones you use yourself ... that might provide some light on what the problem could be. :-) Thanks -Original Message- From: Michael Gardner

Re: Problem with gnustep trunk

2007-03-14 Thread Enrico Sersale
On 2007-03-14 15:05:36 +0200 Nicola Pero [EMAIL PROTECTED] wrote: Well, bytes value is février (in iso-8859-1 I think) and comes from [NSString stringWithUTF8String: nl_langinfo (MON_1+1)] Maybe we need to use nl_langinfo(CODESET) instead of UTF-8 to interpret the bytes ? (no idea,

Re: Crash with new-style exceptions on FreeBSD amd64

2007-03-14 Thread Michael Gardner
Thanks for the hint. I played around with my manual compile command, and found that I can duplicate the crashing behavior of the gmake build if I do *either* of the following two things: 1) Omit -fobjc-exceptions from the command I gave above: g++41 -I$GNUSTEP_SYSTEM_ROOT/Library/Headers