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"); } } which runs file when I compile it with: g++41 -fobjc-exceptions -I$GNUSTEP_SYSTEM_ROOT/Library/Headers -L$GNUSTEP_SYSTEM_ROOT/Library/Libraries -lobjc -lgnustep-base -o main main.m but crashes with an "Abort trap: 6 (core dumped)" when I compile it using gmake. I tried to run it under GDB, but all I get is this: warning: Unable to get location for thread creation breakpoint: generic error [New LWP 100171] Program terminated with signal SIGABRT, Aborted. The program no longer exists. I'm running the following versions of the GNUstep libraries (compiled from ports): gnustep-back-0.11.0 gnustep-base-1.13.1 gnustep-gui-0.11.0 gnustep-make-1.13.0_4 Any ideas or suggestions? -Michael _______________________________________________ Gnustep-dev mailing list Gnustep-dev@gnu.org http://lists.gnu.org/mailman/listinfo/gnustep-dev