Per Inge Mathisen schreef:
> On 4/24/07, Giel van Schijndel <[EMAIL PROTECTED]> wrote:
>   
>>  * Turn some implicit conversions of void* to something* into an explicit 
>> cast
>>     
> Is that really necessary? Can't you use some switch to turn such
> warnings off instead? It is ugly, and makes maintenance harder. Void
> was meant as a generic pointer that was not in need of casting. I do
> not understand why C++ should not get that.
>   
In case of malloc it was already used at most locations.

Btw on the topic of C++ not liking void, it simply doesn't like void
pointers because those violate type safety.

-- 
Giel

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev

Reply via email to