Hi Everyone,

As of yesterday, the entire Étoilé tree compiles with clang[1].  If  
you use libobjc2 then we can also use the non-fragile ABI (i.e. put  
ivar definitions in .m files, not make them part of the public  
interface).  We can also use declared properties and fast enumeration  
when we compile with clang, irrespective of the ABI that we choose.

Eventually, I'd like to require the non-fragile ABI for Étoilé.  It  
will make maintaining backwards compatibility and development easier.   
So please can everyone test that clang and libobjc2 (from GNUstep svn)  
work on your system?

David

[1] There are still some bugs in the front end related to passing  
flags to the linker, so you need to compile with:

gmake CC=clang LD=gcc

I'll try to track these down in the next few days.  To use the non- 
fragile ABI you need to add -fobjc-nonfragile-abi to your OBJCFLAGS.   
It's also worth adding -fblocks to add support for blocks, especially  
for EtoileFoundation, which includes some code that uses blocks and is  
conditionally compiled when blocks are supported.

-- Sent from my brain


_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss

Répondre à