• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Absolutely Mysterious Compilation Error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Absolutely Mysterious Compilation Error


  • Subject: Re: Absolutely Mysterious Compilation Error
  • From: Тимофей Даньшин <email@hidden>
  • Date: Mon, 30 Mar 2009 03:38:02 +0400

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 Тимофей Даньшин <email@hidden>:
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 (email@hidden)

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:
This email sent to email@hidden


References: 
 >Absolutely Mysterious Compilation Error (From: Тимофей Даньшин <email@hidden>)
 >Re: Absolutely Mysterious Compilation Error (From: "Stephen J. Butler" <email@hidden>)
 >Re: Absolutely Mysterious Compilation Error (From: "Stephen J. Butler" <email@hidden>)

  • Prev by Date: Re: 2-button *vertically*-oriented UIAlertView ?
  • Next by Date: Re: user access privileges to plist in /library/preferences
  • Previous by thread: Re: Absolutely Mysterious Compilation Error
  • Next by thread: Custom sort order on NSTableColumn
  • Index(es):
    • Date
    • Thread