We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to compile a simple example using the pre-built code, but I'm stumbling over a compilation error.
Environment: wasi-sdk 12.0 CXX and LD flags are taken directly from the Fastly runtime Makefile.
wasi-sdk 12.0
/host/spidermonkey/include/js/HeapAPI.h:251:38: error: offset of on non-standard-layout type 'js::gc::TenuredChunkBase' [-Werror,-Winvalid-offsetof] const size_t ChunkMarkBitmapOffset = offsetof(TenuredChunkBase, markBits); ^ ~~~~~~~~ /host/wasi-sdk-12.0/lib/clang/11.0.0/include/stddef.h:104:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d)
The text was updated successfully, but these errors were encountered:
Note that things seem to work just fine when ignoring with -Wno-invalid-offsetof.
-Wno-invalid-offsetof
Sorry, something went wrong.
No branches or pull requests
I'm trying to compile a simple example using the pre-built code, but I'm stumbling over a compilation error.
Environment:
wasi-sdk 12.0
CXX and LD flags are taken directly from the Fastly runtime Makefile.
The text was updated successfully, but these errors were encountered: