Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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