Subject: Re: Absolutely Mysterious Compilation Error



2009/3/29 Тимофей Даньшин <ok5.admin@xxxxxxxxx>:
> It says "error: syntax error before 'TableMaker'"

Could be a circular include problem. Try this:

In OtherClass.h:
- remove the #import "TableMaker.h"
- add @class TableMaker;

In OtherClass.m:
- add #import "TableMaker.h"
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@xxxxxxxxxxxxxxx)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/maillists%40codeha.us

This email sent to maillists@xxxxxxxxx



Privacy