• 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
confusing Protocol error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

confusing Protocol error


  • Subject: confusing Protocol error
  • From: "Marcus S. Zarra" <email@hidden>
  • Date: Fri, 13 Jan 2006 11:02:13 -0700

Good morning list!

I am getting an error in my protocol which I was not getting a couple of days ago.

the error is nice and vague with:

error: parse error before 'AT_NAME' token

Which means the error is before the @, got that part. The header that is throwing this error is:

#import <Cocoa/Cocoa.h>
#import "FirstDataRequest.h"

@interface FD_SystemCheckRequest : NSObject <FirstDataRequest>
{

}

+ (id <FirstDataRequest>)systemCheck;

@end

Which points to this protocol header:

@protocol FirstDataResponse;

@protocol FirstDataRequest
- (NSData *)constructRequest:(NSString *)storeID withStoreKey: (NSString *)storeKey;
- (id <FirstDataResponse>)constructResponseWithError:(NSError *) error;
- (id <FirstDataResponse>)constructResponseWithData:(NSData *)data;
@end


which points to this final protocol header:

@protocol FirstDataRequest;

@protocol FirstDataResponse

@end

which as you can see has nothing in it yet.

The error is showing to be on the @interface line of FD_SystemCheckRequest.

Is there something brain dead I am doing wrong here that I am just too close to see?

Thanks for any suggestions.

Marcus

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: LDAP and Cocoa
  • Next by Date: Re: Cocoa Custom NSCell Binding Issue
  • Previous by thread: Re: Trouble linking dotMac Framework
  • Next by thread: confusing Protocol error <SOLVED>
  • Index(es):
    • Date
    • Thread