• 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
Re: expected primary-expression before '*' token ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >expected primary-expression before '*' token ? (From: "Theodore H. Smith" <email@hidden>)

  • Prev by Date: Re: Non-standard attributes - avoid warning from data model compiler?
  • Next by Date: Re: Coredata schema question.
  • Previous by thread: expected primary-expression before '*' token ?
  • Next by thread: Re: expected primary-expression before '*' token ?
  • Index(es):
    • Date
    • Thread