Skip to content

build error using scons on gcc 4.8.4 #5

@jadamcrain

Description

@jadamcrain

By default scons, has -Werror=clobbered set in build and GCC 4.8.4 produces a warning for this that gets promoted to error.

It seems we can either resolve the warning or loosen the build flag.

build/opt/src/backends/regex.c: In function 'run_trace':
build/opt/src/backends/regex.c:209:75: error: argument 'trace' might be clobbered by 'longjmp' or 'vfork' [-Werror=clobbered]
 HParseResult *run_trace(HAllocator *mm__, HRVMProg *orig_prog, HRVMTrace *trace, const uint8_t *input, int len) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions