• 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
volatile compile error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: volatile compile error
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Re: Annoying Dependency [re]checking when switching build configuration
  • Next by Date: Xcode 1.5
  • Previous by thread: Re: Disable precompiled headers for one file?
  • Next by thread: Re: volatile compile error
  • Index(es):
    • Date
    • Thread