-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Description
woff2 fails to compile on GCC 15 due to a missing include; there's a patch available, but it hasn't been merged upstream: google/woff2#176. It seems like upstream may be unmaintained, since it hasn't had commits in two years?
There's some precedent for applying the patch to the vendored source, from servo: servo/fontsan#37
For reference, this is the error:
warning: woff@0.6.1: In file included from vendor/woff2/source/src/woff2_out.cc:9:
warning: woff@0.6.1: vendor/woff2/source/include/woff2/output.h:73:25: error: expected ')' before '*' token
warning: woff@0.6.1: 73 | WOFF2MemoryOut(uint8_t* buf, size_t buf_size);
warning: woff@0.6.1: | ~ ^
warning: woff@0.6.1: | )
warning: woff@0.6.1: vendor/woff2/source/include/woff2/output.h:79:3: error: 'uint8_t' does not name a type
warning: woff@0.6.1: 79 | uint8_t* buf_;
warning: woff@0.6.1: | ^~~~~~~
warning: woff@0.6.1: vendor/woff2/source/include/woff2/output.h:16:1: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
warning: woff@0.6.1: 15 | #include <string>
warning: woff@0.6.1: +++ |+#include <cstdint>
warning: woff@0.6.1: 16 |
Metadata
Metadata
Assignees
Labels
No labels