• 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
ObjectiveC++ strange warning at class declaration
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: ObjectiveC++ strange warning at class declaration
      • From: Alexander Dymerets <email@hidden>
    • Re: ObjectiveC++ strange warning at class declaration
      • From: Peter Schmidt <email@hidden>
  • Prev by Date: Re: NSHomeDirectory() vs. -stringByExpandingTildeInPath
  • Next by Date: Re: NSAttributedString with embedded image
  • Previous by thread: Re: NSHomeDirectory() vs. -stringByExpandingTildeInPath
  • Next by thread: Re: ObjectiveC++ strange warning at class declaration
  • Index(es):
    • Date
    • Thread