[HarfBuzz] compilation error of 0.9.26 with MinGW

Werner LEMBERG wl at gnu.org
Fri Mar 21 23:45:23 PDT 2014


>>>> hb-common.cc: In function 'hb_language_item_t* lang_find_or_insert(const char*)':
>>>> hb-atomic-private.hh:61:47: error: expected primary-expression before ')' token
>>>>  #define hb_atomic_ptr_get(P)  (MemoryBarrier (), (void *) *(P))
>>
>> The good news: Your patch works :-)  To avoid warnings, you should
>> insert
>> 
>>   # undef MemoryBarrier
>> 
>> before (re)defining `MemoryBarrier'.
>
> Thanks.  I pushed a similar change out that should fix.  Please
> test.

Now tested.  It compiles fine, thanks!


    Werner


More information about the HarfBuzz mailing list