• 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: Pointer not really an lvalue?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pointer not really an lvalue?


  • Subject: Re: Pointer not really an lvalue?
  • From: Greg Guerin <email@hidden>
  • Date: Thu, 13 Jul 2006 11:03:35 -0700

Mark Wagner wrote:

>((char *)(block->blockPtr)) += mChunkSize; // <--- Warning here

The type-cast is the "not really an lvalue".

Is there some practical reason that blockPtr isn't declared char* instead
of void*?

  -- GG


 _______________________________________________
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

  • Prev by Date: Pointer not really an lvalue?
  • Next by Date: Install_name_tool help
  • Previous by thread: Re: Pointer not really an lvalue?
  • Next by thread: Re: Pointer not really an lvalue?
  • Index(es):
    • Date
    • Thread