[Zlib-devel] Testing CMakeLists from zlib 1.2.3.5

Vincent Torri vtorri at univ-evry.fr
Wed Jan 13 12:04:14 EST 2010



On Wed, 13 Jan 2010, Mark Adler wrote:

> On Jan 13, 2010, at 4:11 AM, Philip Lowman wrote:
>> and VS is having a problem because it doesn't know the size of
>> the void* ?!?
>
> (gcc does know the size of void, but that is non-standard.)

void has no size. That's why you can't dereference a void*

It would be better to say something like : gcc allows arithmetic pointer 
on void* to be like on char*

Vincent Torri




More information about the Zlib-devel mailing list