[cfe-dev] Instance variables in implementation error?

Jens Ayton mailing-lists.jens at ayton.se
Sun Jul 3 23:59:42 PDT 2011


On Jul 4, 2011, at 07:12, Marcel Weiher wrote:
> 
> 
> Yep.   One solution would be to have the header-generator skip generating the variables for the @interfaces when compiling for 64 bit, and maintain the generation of the variables for 32 bit, but that's also pretty nasty.

Two quasi-solutions:
1. Generate #ifndef __OBJC2__ around the generated ivar section, for maximum simplicity.
2. Use #if HEADER_GENERATOR around the ivar section in the @implementation, for cleaner headers.


-- 
Jens Ayton





More information about the cfe-dev mailing list