• 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: Turning off 'deleting 'VOID*' is undefined' error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Turning off 'deleting 'VOID*' is undefined' error


  • Subject: Re: Turning off 'deleting 'VOID*' is undefined' error
  • From: Chris Espinosa <email@hidden>
  • Date: Sun, 28 Jan 2007 22:00:43 -0800


On Jan 28, 2007, at 7:25 PM, Mike wrote:

Is there a setting in Xcode 2.4.1 for turning off the


warning: deleting 'VOID*' is undefined


warning?


No, there isn't.  The C++ standard says you can only delete() things allocated with new(), as delete() must call free() first.  So the compiler cannot generate correct code for delete of a 'void *'.  The warning is there to warn you that your code may be doing any number of unintended things.

What are you really trying to do?

Chris
 _______________________________________________
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: Turning off 'deleting 'VOID*' is undefined' error
      • From: Mike <email@hidden>
References: 
 >Turning off 'deleting 'VOID*' is undefined' error (From: Mike <email@hidden>)

  • Prev by Date: So I have my program ready...
  • Next by Date: RE: Specifying userhome as linking search path
  • Previous by thread: Re: Turning off 'deleting 'VOID*' is undefined' error
  • Next by thread: Re: Turning off 'deleting 'VOID*' is undefined' error
  • Index(es):
    • Date
    • Thread