Yes, that cleared it. Thank you a lot.

Could you, please, tell me, where i can read more about circular includes and what the ways of dealing with them are? It seems rather an odd thing after Java.


On Mar 30, 2009, at 3:25 AM, Stephen J. Butler wrote:

2009/3/29 Тимофей Даньшин <ok5.ad...@gmail.com>:
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@lists.apple.com)

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/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to