Hi,

while porting gcc to the new target x86_64-pc-mingw32 I noticed, that on 
many places the long type is wrongly used as equivalent for pointers. This 
leads for this MS compatible target to some problems, because the long is 
just 4 bytes long and the pointer 8 bytes. I found this problems until now 
in libc++, libiberty. There are ISO types defined for this case, as 
intptr_t  and uintptr_t. Is there something defined in the coding style ?

Regards,
 i.A. Kai Tietz

Reply via email to