I am currently facing issues building V8 at version 11.0.226 for embedding in my application. Compilation of several source files fails with the following error:
../../../../../../third-party/v8/v8/src/execution/isolate-data.h:279:3: error: static_assert failed due to requirement 'std::is_standard_layout<v8::internal::ThreadLocalTop>::value' static_assert(std::is_standard_layout<ThreadLocalTop>::value); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../../third-party/v8/v8/src/execution/isolate-data.h:281:3: error: static_assert failed due to requirement 'std::is_standard_layout<v8::internal::IsolateData>::value' static_assert(std::is_standard_layout<IsolateData>::value); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning and 2 errors generated. I compile V8 with flags is_clang=true clang_base_path=\"/usr\" use_lld=false use_gold=true v8_enable_pointer_compression=true treat_warnings_as_errors=false v8_use_external_startup_data=false use_sysroot=false use_custom_libcxx=false clang_use_chrome_plugins=false target_cpu=\"x64\"" I have tried both my system Clang and Google's toolchain. The compilation error is the same. My system clang is on 14.0.6. Git blame tells me @Clemens Backes is the author of the respective lines of code. I hope you or someone else can help me out. -- -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-dev/b2c44f2b-68be-4465-8d4c-2bdaf87a6a72n%40googlegroups.com.
