Re: Turning off 'deleting 'VOID*' is undefined' error
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