[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] freetype compilation warnings
From: |
Sean McBride |
Subject: |
Re: [ft-devel] freetype compilation warnings |
Date: |
Tue, 12 Jan 2010 11:09:29 -0500 |
On 1/12/10 4:43 AM, David Bevan said:
>All the proposed solutions assume that there is a (known) integer size
>which matches the pointer size.
There is: intptr_t. But it's part of C99, which freetype can not require. :(
>I would expect something like the following to work (though I don't have
>a suitable compiler to hand to test).
>
>#define ALL_POINTS (FT_UShort*)((FT_Byte*)(NULL) - 1);
Clever! I'll commit this to VTK and we'll see tomorrow.
--
____________________________________________________________
Sean McBride, B. Eng address@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada