Mac doesn't like TRY/CATCH/FINALLY

Previous topic - Next topic

MrTAToad

TRY/CATCH/FINALLY doesn't work on a Mac - you get :

compile+link:
/cygdrive/s/Compiler/platform/Mac/Bin/../libexec/gcc/i686-apple-darwin9/4.0.1/ld: Undefined symbols:
___cxa_get_exception_ptr
Mac OSX compiler wrapper
compile for PowerPC
compile for x86
call:
"S:\Compiler\platform\Mac\Bin\i686-apple-darwin9-g++.exe" -O3 -w -isysroot "/cygdrive/S/Compiler/platform/Mac/SDKs/MacOSX10.4u.sdk" -I"/cygdrive/S/Compiler/platform/Include" -I"/cygdrive/C/Users/Nicholas/Documents/GLBasic/tEST2" -L"/cygdrive/S/Compiler/platform/Mac/OSX/Lib" -framework OpenGL -framework Cocoa -framework QuickTime -DMACOSX -DMAC -DTARGET_OS_MAC -DNDEBUG -DGLB_CONSOLE "/cygdrive/C/Windows/Temp/glbasic/gpc_tempg.cpp" "/cygdrive/C/Windows/Temp/glbasic/gpc_temp0.cpp" "/cygdrive/C/Windows/Temp/glbasic/gpc_temp1.cpp"   "/cygdrive/C/Users/Nicholas/Documents/GLBasic/tEST2\hello.cpp"  -lGLBasicUni-console -o "/cygdrive/C/Windows/Temp/glbasic/output.x86"
CurDir:
C:\Windows\Temp\glbasic
failed (exit code 1)!
*** FATAL ERROR - Please post this output in the forum