ObjectiveC++ strange warning at class declaration
ObjectiveC++ strange warning at class declaration
- Subject: ObjectiveC++ strange warning at class declaration
- From: Julien Palmas <email@hidden>
- Date: Mon, 28 Mar 2005 17:38:17 +0900
I use C++ I my application and until now, everything was running well until this afternoon when I started to get warning and errors on code that I wrote 1 month ago.
I can't figure out what I did to mess it up ...
In MXLutType.h, I have
#import <Cocoa/Cocoa.h>
#import "MXICCTag.h"
@class MXChannel;
class TCLutType;
@interface MXLutType : MXICCTag {
NSArray *inputChannels;
NSArray *outputChannels;
MXChannel *displayedChannel;
NSString *activeChannels; // @"input" or @"output"
TCLutType *wrappedTCLutType;
}
where
TCLutType is a C++ class defined in TCLutType.h
I include TCLutType.h in MXLutType.mm (Obj-C++)
and I get the folling warning on the line :
class TCLutType;
data definition has no type or storage class
Any idea of what I do wrong ?
_______________________________________________
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