Skip to content

Compile error on ARMv7 platform #1415

@alexcherut

Description

@alexcherut

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions