cocos2d/cocos2d-iphone-extensions — Issue #88: CCScrollLayer: Mac 32-Bit, LLVM 3.0 - synthesized property build error
Author: GamingHorror
Created: 2011-11-12 16:34:32+00:00
State: open

The following errors are issued in Mac 32-Bit builds with LLVM 3.0. 64-Bit build does not show these errors, nor do iOS Device and Simulator builds.

Synthesized property 'pagesIndicatorNormalColor' must either be named the same as a compatible ivar or must explicitly name an ivar
Synthesized property 'pagesIndicatorSelectedColor' must either be named the same as a compatible ivar or must explicitly name an ivar

The issue is because the @synthesize statement assigns an ivar name to the property:
@synthesize pagesIndicatorNormalColor = pagesIndicatorNormalColor_;
@synthesize pagesIndicatorSelectedColor = pagesIndicatorSelectedColor_;

This I believe is incompatible with automated ivar creation. The easiest fix is to add the ivars to class @interface:
ccColor4B pagesIndicatorNormalColor_;
ccColor4B pagesIndicatorSelectedColor_;