Skip to content

Build fails with enabled Valgrind support #762

Closed
@bzsolt

Description

@bzsolt

Build fails with enabled Valgrind support for {debug,release}.mcu_stm32f* targets.
Seemingly unused params and variables triggered these errors:

jerryscript/third-party/valgrind/valgrind.h:3714:29: error: unused parameter 'format' [-Werror=unused-parameter]
    VALGRIND_PRINTF(const char *format, ...)
jerryscript/jerry-core/mem/mem-heap.cpp:337:62: error: statement has no effect [-Werror=unused-value]
    VALGRIND_NOACCESS_SPACE (mem_heap.area, MEM_HEAP_AREA_SIZE);
jerryscript/jerry-core/mem/mem-poolman.cpp:312:13: error: unused variable 'vbits' [-Werror=unused-variable]
    uint8_t vbits[MEM_POOL_CHUNK_SIZE];

Metadata

Metadata

Assignees

Labels

bugUndesired behaviourinfrastructureRelated to GH Actions or the tested targets

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions