• 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
Mysterious Build Error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mysterious Build Error


  • Subject: Mysterious Build Error
  • From: "Vincenzo Kreft-Kerekes" <email@hidden>
  • Date: Wed, 26 Mar 2003 17:00:18 -0500

Dear All,

I'm trying to introduce two objects to each other using the most recent PB
but this apparently simple scheme fails during build with - parse error
before "Second" - and I have no clue as to why this is nor why it compiles
if I remove the #import <First.h> line from Second.h, leaving everyhing else
untouched. In the sample files below both implementations are empty. What am
I missing here? I would greatly appreciate any hints.

Thanks a lot,
Vincenzo


-- First.h --
#import <Foundation/Foundation.h>
#import <Second.h>

@interface First : NSObject {
Second *secondRef;
}

@end


-- Second.h --
#import <Foundation/Foundation.h>
#import <First.h>

@interface Second : NSObject {
}

@end
_______________________________________________
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.

  • Follow-Ups:
    • Re: Mysterious Build Error
      • From: sinclair44 <email@hidden>
  • Prev by Date: Re: [OT] Subversion
  • Next by Date: Re: Mysterious Build Error
  • Previous by thread: Re: Show a file in Finder
  • Next by thread: Re: Mysterious Build Error
  • Index(es):
    • Date
    • Thread