freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] "comp" is reserved word in Apple SC compiler?


From: Sean McBride
Subject: Re: [ft-devel] "comp" is reserved word in Apple SC compiler?
Date: Fri, 28 Oct 2005 10:26:22 -0400

On 2005-10-28 13:11, address@hidden said:

>     OSStatus              status = FMCreateFontFamilyIterator( NULL, NULL,
>                                                                options,
>                                                                &famIter );
>-    FMFont                the_font = NULL;
>-    FMFontFamily          family   = NULL;
>+    FMFont                the_font = ( FMFont ) NULL;
>+    FMFontFamily          family   = ( FMFontFamily ) NULL;

gcc 4 on Mac OS X gives a warning about this too.  As you said, FMFont
is not a pointer but an integer.  Using 0 I think is the best solution.

--
____________________________________________________________
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]