mirror of
https://github.com/google/brotli.git
synced 2026-07-08 17:56:58 +00:00
Compile error on ARMv7 platform #568
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @alexcherut on GitHub (Jan 26, 2026).
ghoscript builds all the sources (including brotli) using -Werror=declaration-after-statement which causes build failure of brotli/c/dec/decode.c when targeting ARMv7 platform.
That's because PreloadSymbol() starts with a statement followed by BROTLI_HC_MARK_TABLE_FOR_FAST_LOAD() macro which on ARMv7 expands to variable declaration.
See https://bugs.ghostscript.com/show_bug.cgi?id=708831 for details and a proposed patch.