>>>
>>> (void *)(((char *)0) + (x))
>>>
>>
>> Wow! Very cool!
>>
>>
>> I'm fairly sure that's undefined in C standard as well.
My first impression also...
> [...] You can only do pointer arithmetic within an allocate array.
> All else is undefined. Which makes sense for same reasons that
> Roland mentioned (segmented architectures.)
I think we should just ignore such segmented architectures by default.
Instead, we should make `FT_UINT_TO_POINTER' configurable by the user
so that he or she has a chance to override it, should this be ever
necessary.
Werer
_______________________________________________
Freetype-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype-devel