• 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: fatal error - what causes it?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fatal error - what causes it?


  • Subject: Re: fatal error - what causes it?
  • From: Philip Mötteli <email@hidden>
  • Date: Sat, 15 Nov 2003 18:58:50 +0100

Hi


Am 15.11.2003 um 18:30 schrieb Jeff LaMarche:
I'm getting:

fatal error: method definition not in class context

in some header files, which is always accompanied by at least one parse error in the same file. I can find nothing wrong with the syntax of the header file where this is occurring. It seems that in some cases I've been able to get it to go away by inserting a @class or #import method, but it seems sort of random, what makes it go away - I seem to be able to make it go away in one file, but then get it in a different header.

I do have two classes that reference each other, which I thought was responsible for the problem, but changing both classes #import of each to @class declarations doesn't seem to help.

I'm stymied. Does anyone know what might be going on?

I had this error many times. It was always an error as a consequence of another. So try to correct the other (perhaps just a warning) and it should disappear.


Re
Phil
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >fatal error - what causes it? (From: Jeff LaMarche <email@hidden>)

  • Prev by Date: Re: Can I figure out which default changed from an NSUserDefaultsDidChange notification?
  • Next by Date: Re: Can I figure out which default changed from an NSUserDefaultsDidChange notification?
  • Previous by thread: fatal error - what causes it?
  • Next by thread: Re: fatal error - what causes it?
  • Index(es):
    • Date
    • Thread