Re: expected primary-expression before '*' token ?
Re: expected primary-expression before '*' token ?
- Subject: Re: expected primary-expression before '*' token ?
- From: Ondra Cada <email@hidden>
- Date: Wed, 1 Jun 2005 20:08:21 +0200
Theodore,
On 1.6.2005, at 14:58, Theodore H. Smith wrote:
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
Just remove the colon after @public :)
Oh, by the way, it is *very* bad practice to capitalize variable
names. They should begin by a lowercase, like "fileItemsController".
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
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