[HarfBuzz] Funky harfbuzz compile error

Ed ed.trager at gmail.com
Tue Apr 26 13:44:04 PDT 2011


Hi, Behdad and all,

What is the solution to this error seen on Ubuntu with a fresh git
clone of harfbuzz? , trying to compile with gcc 4.4.5:

The "set" function on line 47 is declared void but returns a value?
Looks very odd to me ...

===============================
In file included from hb-private.hh:298,
                 from hb-blob.cc:27:
hb-object-private.hh: In member function ‘void<anonymous struct>::set(int)’:
hb-object-private.hh:47: error: expected primary-expression before ‘do’
hb-object-private.hh:47: error: return-statement with a value, in
function returning 'void'
hb-object-private.hh:47: error: expected ‘;’ before ‘do’
===============================

Best - Ed



More information about the HarfBuzz mailing list