freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] freetype 2.3.8 warnings


From: Sean McBride
Subject: Re: [ft-devel] freetype 2.3.8 warnings
Date: Mon, 26 Jan 2009 14:11:51 -0500

On 1/24/09 4:38 PM, address@hidden said:

>>>> base/fttrigon.c: In function 'FT_Vector_Rotate':
>>>> base/fttrigon.c:439: warning: right shift count >= width of type
>>>> base/fttrigon.c:440: warning: right shift count >= width of type
>>>
>>>Hmm.  For me, this warning appears to be completely useless.  Any
>>>value larger or equal to 32 makes the result consisting of zeros only,
>>>expect a bitmask or what?  Can you dig into the compiler's
>>>documentation to give more details?
>>
>>The warning comes from gcc 4.2's -Wall, more specifically from -Wstrict-
>>overflow=1 (which is part of -Wall).
>
>Yet I couldn't reproduce this warning. Could you post the
>preprocessor output which can be obtained by -save-temps?

I just do this:

$ cd /Users/sean/freetype-2.3.8
$ export CC=/usr/bin/gcc-4.2
$ export CFLAGS="-mmacosx-version-min=10.5 -Wstrict-overflow=1 -arch
i386 -arch x86_64"
$ ./configure
$ make

Where would I add "-save-temps"?  I tried adding it to CFLAGS but then
configure fails.

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