• 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
Strange compile time error message...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Strange compile time error message...


  • Subject: Strange compile time error message...
  • From: "Ryan Poling" <email@hidden>
  • Date: Thu, 30 Nov 2006 15:55:51 -0800

I have been getting a strange compile time error message in a Cocoa
project I'm working on.  When I import header file "A.h" into header
file "B.h", I get the following two error messages in "B.m":

error: parse error before 'MyHeader'
fatal error: method definition not in @implementation context

If I instead import "A.h" into "B.m" (instead of into "B.h"), the errors
disappear and everything compiles normally.

"A" is a singleton class, and "B" isn't.

Not sure if that's enough detail for anyone to help...

Any ideas?

Thanks,

-Ryan


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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

  • Prev by Date: Re: Editing strings in view
  • Next by Date: Bindings between nib files (again)
  • Previous by thread: Re: Editing strings in view
  • Next by thread: Bindings between nib files (again)
  • Index(es):
    • Date
    • Thread