One Quickie

wrong kind of tag compiler error. (Tools->Random)
This one stumped me for awhile:
BWNagType.h:23: `BWConcreteType' defined as wrong kind of tag

In this particular case, I had a type I had declared with:
@class BWConcreteType; and later on I had decided to turn it into an enum:
typedef enum BWConcreteType { ... } BWConcreteType;
without removing the previous @class declaration. So be on the look out for conflicting types for the same symbol.

borkware home | products | miniblog | rants | quickies | cocoaheads
Advanced Mac OS X Programming book