Skip to content

Remove -Wno-invalid-offsetof from compilation flags #269

@andreiltd

Description

@andreiltd

As mentioned here: #242 (comment) we should re-enable this warning and use suppression maps from clang:

https://clang.llvm.org/docs/WarningSuppressionMappings.html

# .clang-suppression:
# Suppress -Winvalid-offsetof warnings in SpiderMonkey
[invalid-offsetof]
src:*/spidermonkey-debug/*
src:*/spidermonkey-release/*

This will be possible when we update to the version of wasi-sdk with clang version >=20

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions