On 22 Jun 2010, at 11:42, Richard Frith-Macdonald wrote: > > On 22 Jun 2010, at 11:28, Thomas Davie wrote: > >> >> On 22 Jun 2010, at 11:19, Richard Frith-Macdonald wrote: >> >> There's a slight problem with this approach – previously, it was possible to >> compile gnustep-base with gcc, and expect blocks code to work if your binary >> was compiled with clang, this is no longer the case, as blocks_runtime.h >> will never be included. This kinda loops back on my original issue that >> clang bails/hangs trying to compile GSFormat.m. > > I may be misunderstanding, but that seems OK to me: > 1. you build base using gcc ... the blocks runtime header is not included at > this point, but that's OK since base doesn't use blocks. > 2. you build your code with clang ... the blocks runtime header *is* included > ... your code is able to use blocks.
Never mind, I'm being dim, thanks for pointing it out. > Incidentally, my copy of clang builds GSFormat.m without complaint/problem. Yeh, David reported the same behaviour, I'm not certain what is going on on my system, neither that version, nor the current head terminates :/ Thanks Tom Davie _______________________________________________ Gnustep-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnustep-dev
