expected primary-expression before '*' token ?
expected primary-expression before '*' token ?
- Subject: expected primary-expression before '*' token ?
- From: "Theodore H. Smith" <email@hidden>
- Date: Wed, 1 Jun 2005 13:58:37 +0100
I've never seen this before.
I'm not sure what a primary expression is, either.
I got this error after working on some of my code. The biggest
culprit I can think of, might be that I'm using classes which require
each other as struct members.
IE:
@class B;
@interface A : NSObject
{
B* b;
}
@end
@interface B : NSObject
{
A* a;
}
@end
However, the above example does actually compile, while my code gets
a "expected primary expression" error! What is the solution to this?
I'm getting the error here:
@interface MyDocument : NSDocument
{
CppContainer* Cpp;
@public:
IBOutlet SCOFileItemsController* FileItemsController; //
error of primary on this line
IBOutlet SCOHandyFileItemsController* HandyController;
IBOutlet SCOMetaDataController* MetaDataController;
IBOutlet SCOTaxonomyController* TaxonomyController;
IBOutlet SCOTabController* TabController;
IBOutlet NSTableView* MetaTable;
}
--
http://elfdata.com/plugin/ Industrial strength string processing,
made easy.
"All things are logical. Putting free-will in the slot for premises in
a logical system, makes all of life both understandable, and free."
_______________________________________________
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