[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: Fri, 8 Jan 2010 14:25:07 -0500


There are still some warnings from the VTK nightly builds:
(search for "freetype")

I believe this is due to:

#define ALL_POINTS  (FT_UShort*)( -1 )

To me, it seems dangerous to have a pointer type that is not a pointer.
Other than "don't do that", I'm not sure what to suggest to workaround
this warning.  Ideas?  This might work:

#define ALL_POINTS  (FT_UShort*)( INTPTR_MAX )

But that requires C99.

Sean McBride, B. Eng                 address@hidden
Rogue Research              
Mac Software Developer              Montréal, Québec, Canada

reply via email to

[Prev in Thread] Current Thread [Next in Thread]