Exception handling in clang

2009-05-08 Thread David Chisnall
Hi Everyone, I've just committed initial support for 'zero-cost' exception handling in clang. Currently this only works for @finally and for @catch'ing id types (I plan on fixing that limitation soon). I'd appreciate it if anyone who has code which uses exceptions could test this. The

Re: Exception handling in clang

2009-05-08 Thread Pete French
> I've just committed initial support for 'zero-cost' exception handling > in clang. Currently this only works for @finally and for @catch'ing > id types (I plan on fixing that limitation soon). I'd appreciate it > if anyone who has code which uses exceptions could test this. The > suppo

Re: Exception handling in clang

2009-05-08 Thread David Chisnall
Did you remember to update the LLVM tree too? Clang trunk requires LLVM trunk. The exception stuff was committed with r71198, and I've just sent a patch to the cfe-dev list which fixes @catch(RealClassName *foo) as well. The only thing missing now is @sychronized. For me, gcc emits code

Re: Exception handling in clang

2009-05-08 Thread Pete French
> Did you remember to update the LLVM tree too? Clang trunk requires > LLVM trunk. The exception stuff was committed with r71198, and I've > just sent a patch to the cfe-dev list which fixes @catch(RealClassName > *foo) as well. Actually, all I do is 'svn update' in the LLVM tree, as I was

Re: Exception handling in clang

2009-05-08 Thread David Chisnall
On 8 May 2009, at 14:13, Pete French wrote: Actually, all I do is 'svn update' in the LLVM tree, as I was under the impression that also updated the clang subdirectory too (I don't use svn anywhere else, so if this is wrong let me know...) If your svn tree is anything like mine, you did clang

Re: Exception handling in clang

2009-05-08 Thread Pete French
> If your svn tree is anything like mine, you did clang as a separate > checkout, so you will also need to do 'cd tools/clang && svn up' If I followed the instrustions which way to do this: svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm cd llvm/tools svn co http://llvm.org/svn/llvm-

GNUstep Make using $(CC) for linking

2009-05-08 Thread David Chisnall
Hi, I'm trying to compile GNUstep projects with clang using 'gmake CC=clang', but I'm now getting linker errors creating subproject.o because CC is being used as the linker, even when LD is specified as something else (e.g. gcc). Is this a bug, or a known feature? David ___

Re: Next release

2009-05-08 Thread Adam Fedor
On May 8, 2009, at 12:04 PM, Nicola Pero wrote: On 7 May 2009, at 15:26, Adam Fedor wrote: I can make a release of the core libraries in the next day or two if that's OK. This was my plan: make 2.0.9 I was thinking of releasing trunk as make 2.2.0 (instead of 2.0.9). The idea being tha

Re: GNUstep Make using $(CC) for linking

2009-05-08 Thread Nicola Pero
On 8 May 2009, at 18:14, David Chisnall wrote: Hi, I'm trying to compile GNUstep projects with clang using 'gmake CC=clang', but I'm now getting linker errors creating subproject.o because CC is being used as the linker, even when LD is specified as something else (e.g. gcc). Is this a

Re: Next release

2009-05-08 Thread Nicola Pero
On 7 May 2009, at 15:26, Adam Fedor wrote: I can make a release of the core libraries in the next day or two if that's OK. This was my plan: make 2.0.9 I was thinking of releasing trunk as make 2.2.0 (instead of 2.0.9). The idea being that 2.0.x does not support parallel building (make -j