volatile compile error
volatile compile error
- Subject: volatile compile error
- From: mark <email@hidden>
- Date: Tue, 16 Sep 2008 17:24:02 +1200
Title: volatile compile error
Why does 'volatile
static MPTaskID
AddCacheTask=nil;' generate 'error: invalid conversion from 'OpaqueMPTaskID*
volatile*' to 'OpaqueMPTaskID**'?
Line : oe=MPCreateTask(AddToCacheTask,
nil, 0, 0, nil, nil,
0, &AddCacheTask);
MPTaskID :
typedef struct
OpaqueMPTaskID*
MPTaskID;
Or is it that volatile can't flag pointers?
X-Code 2.5, gcc 4.0.
TIA
Mark
_______________________________________________
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