freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] freetype, undefined behaviour, and clang


From: Sean McBride
Subject: Re: [ft-devel] freetype, undefined behaviour, and clang
Date: Wed, 23 Nov 2011 12:01:08 -0500

On Wed, 23 Nov 2011 03:00:06 +0900, suzuki toshiya said:

>Thanks, I have to thank you (as always) for finding the issue.
>The part was introduced by me,
>
>commit 5d3ff05615dda6d1325ed612381a17a0df04c975
>Author: suzuki toshiya <address@hidden>
>Date:   Sat Aug 1 00:32:24 2009 +0900
>
>    cache: Check higher bits in flags for non ILP32 systems.
>
>and I remember there are more similar codes to deal with the
>higher bits in the part mixing long & int variables. Maybe
>bitmask calculation would be better than playing with the
>MIN/MAX.

Suzuki-san,

Do you have clang?  Can you try building freetype with 
-fcatch-undefined-behavior and -ftrapv to fix other issues it finds?

Cheers,

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