• 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: John Daniel <email@hidden>
  • Date: Wed, 31 Jan 2007 08:56:53 -0600

You are correct. Furthermore, neither VS.net nor Borland complain either. It is reassuring to know that after we spend all that time ensuring const-correctness, validating type safety, and getting templates to compile, the compiler vendors are just casting it all to void * underneath.

John

On Jan 31, 2007, at 2:51 AM, Thomas Engelmeier wrote:


On 31.01.2007, at 03:16, John Daniel wrote:

But I suspect the type isn't void on Windows. Visual Studio wouldn't like that any more than GCC does.

VC6 seems not to issue an warning when someone uses

delete( (void *) foo );

I fixed a bunch of occurences when I was contracting on a rather large Windows codebase.

Regards,
	Tom_E

_______________________________________________ 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[2]: Turning off 'deleting 'VOID*' is undefined' error
      • From: Peter Mulholland <email@hidden>
References: 
 >Turning off 'deleting 'VOID*' is undefined' error (From: Mike <email@hidden>)
 >Re: Turning off 'deleting 'VOID*' is undefined' error (From: Chris Espinosa <email@hidden>)
 >Re: Turning off 'deleting 'VOID*' is undefined' error (From: Mike <email@hidden>)
 >Re: Turning off 'deleting 'VOID*' is undefined' error (From: John Daniel <email@hidden>)
 >Re: Turning off 'deleting 'VOID*' is undefined' error (From: Thomas Engelmeier <email@hidden>)

  • Prev by Date: Files in hmap
  • Next by Date: Re: Files in hmap
  • Previous by thread: Re: Turning off 'deleting 'VOID*' is undefined' error
  • Next by thread: Re[2]: Turning off 'deleting 'VOID*' is undefined' error
  • Index(es):
    • Date
    • Thread