• 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: Paul Walmsley <email@hidden>
  • Date: Thu, 01 Feb 2007 09:10:05 +0000


The most likely explanation is that MSVC/Borland assume that if you
delete on a void *, you are effectively doing a free() which is void *
anyway!
Additionally, in C/C++, whenever the programmer requests a cast to (void*) the compiler will (quite legitimately in most cases) assume that this was intentional. C's casting mechanism sits very badly with C++, so in general it's always vastly preferable to use C++-style casts instead. _______________________________________________
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: Re: Anonymous namespace clashes
  • Next by Date: Re[2]: undefined non-virtual thunk to ...
  • Previous by thread: Re: Anonymous namespace clashes
  • Next by thread: Re[2]: undefined non-virtual thunk to ...
  • Index(es):
    • Date
    • Thread