freetype-devel
[Top][All Lists]
Advanced

[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

Werner,

There are still some warnings from the VTK nightly builds:
<http://www.cdash.org/CDash/buildSummary.php?buildid=510736>
(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                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada






reply via email to

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