• 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
CPP Protocol Error ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CPP Protocol Error ?


  • Subject: CPP Protocol Error ?
  • From: koko <email@hidden>
  • Date: Mon, 05 Mar 2012 10:59:27 -0700

I am compiling a project of obj-c and cpp with a compiler setting of compile all source as obj-c++.  I  have been doing this for some some time now and suddenly I get this error:

Cannot find protocol definition for CPtrList
Cannot find protocol definition for HTREEITEM

on this line of code in a cpp header file:

typedef CTypedPtrList<CPtrList, HTREEITEM> CTreeItemList;

where in included files both CPtrList and HTREEITEM are defined.

So this seem like some Compilier mumbo jumbo thinking that CTypedPtrList is an obj-c class and we are defining protocol implementations CPtrList and HTREEITEM

I am all ears to thought and suggestions as to how to resolve this dilemma.

-koko

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: CPP Protocol Error ?
      • From: Ron Hunsinger <email@hidden>
    • Re: CPP Protocol Error ?
      • From: Scott Ribe <email@hidden>
  • Prev by Date: Customizing function call code snippet
  • Next by Date: Re: split source code windows (was: Xcode - AN APPLE OPPORTUNITY!)
  • Previous by thread: Customizing function call code snippet
  • Next by thread: Re: CPP Protocol Error ?
  • Index(es):
    • Date
    • Thread