Strange compile time error message...
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