• 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: Stefan Werner <email@hidden>
  • Date: Mon, 29 Jan 2007 13:12:58 +0100


On Jan 29, 2007, at 4:25 AM, Mike wrote:

Is there a setting in Xcode 2.4.1 for turning off the

warning: deleting 'VOID*' is undefined

warning?

IMHO this should be a full error and not just a warning...

When you delete a void pointer, no destructor will be called because there is no way the compiler can figure out what destructor to call. Explicitly cast this to the correct type or a superclass with virtual destructor before calling delete. Introduce such a superclass if necessary.

I strongly suggest that you don't ignore that warning but correct the code that is causing it.

Stefan
_______________________________________________
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


References: 
 >Turning off 'deleting 'VOID*' is undefined' error (From: Mike <email@hidden>)

  • Prev by Date: Re: beep
  • Next by Date: Re: Turning off 'deleting 'VOID*' is undefined' error
  • Previous by thread: Re[2]: Turning off 'deleting 'VOID*' is undefined' error
  • Next by thread: So I have my program ready...
  • Index(es):
    • Date
    • Thread