[HarfBuzz] Funky harfbuzz compile error

Evan Martin evan at chromium.org
Wed Apr 27 11:04:54 PDT 2011


On Tue, Apr 26, 2011 at 10:41 PM, Behdad Esfahbod <behdad at behdad.org> wrote:
> On 04/26/11 17:46, Wouter Bolsterlee wrote:
>>         -  inline void set (int v) { return hb_atomic_int_set (ref_count, v); }
>>         +  inline void set (int v) { hb_atomic_int_set (ref_count, v); }
>
> Ah, I'm really sorry about that.  Fixed.  I'm yet to find a gcc option to warn
> about this error I keep making via copy/pasted code.

It's really easy to set up clang (two svn checkout commands,
./configure --enable-optimized; make; export CC=/path/to/clang/clang)
and it catches many more of these sorts of problems.  I frequently use
it when developing these days.



More information about the HarfBuzz mailing list