-
Notifications
You must be signed in to change notification settings - Fork 682
Description
When building the harfbuzz FreeBSD port on 32-bit powerpc (gcc 4.2.1) I get the following errors while compiling hb-blob.cc:
hb-private.hh:417: error: integer constant is too large for 'long' type
hb-private.hh:493: error: integer constant is too large for 'long' type
hb-private.hh:494: error: integer constant is too large for 'long' type
hb-private.hh:495: error: integer constant is too large for 'long' type
hb-private.hh:496: error: integer constant is too large for 'long' type
hb-private.hh:497: error: integer constant is too large for 'long' type
And looking at the relevant lines, I do see constants of 0xFFFFFFFF00000000 (line 417), 0x00000000FFFFFFFF, 0x0000FFFF0000FFFF, 0x00FF00FF00FF00FF, 0x0F0F0F0F0F0F0F0F, 0x3333333333333333, and 0x5555555555555555. On 32-bit architectures these likely need to be suffixed ULL, unless a more recent compiler can cope with it. Is a more recent compiler required to build harfbuzz?