CPP Protocol Error ?
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