diff --git a/common.gypi b/common.gypi index e2b8476f3326cd..da9076c0044e21 100644 --- a/common.gypi +++ b/common.gypi @@ -37,7 +37,7 @@ # Reset this number to 0 on major V8 upgrades. # Increment by one for each non-official patch applied to deps/v8. - 'v8_embedder_string': '-node.10', + 'v8_embedder_string': '-node.11', ##### V8 defaults for Node.js ##### diff --git a/deps/v8/BUILD.gn b/deps/v8/BUILD.gn index a25b6f2ac986f3..e2e0c16d97080d 100644 --- a/deps/v8/BUILD.gn +++ b/deps/v8/BUILD.gn @@ -1716,6 +1716,10 @@ config("toolchain") { # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108517 "-Wno-nonnull", + + # Disable dangling pointer warnings, which are often false positives when + # using scopes. + "-Wno-dangling-pointer", ] } diff --git a/deps/v8/src/compiler/turboshaft/assembler.h b/deps/v8/src/compiler/turboshaft/assembler.h index e324c82b08cf9e..8493aca79ddc89 100644 --- a/deps/v8/src/compiler/turboshaft/assembler.h +++ b/deps/v8/src/compiler/turboshaft/assembler.h @@ -6,6 +6,7 @@ #define V8_COMPILER_TURBOSHAFT_ASSEMBLER_H_ #include +#include #include #include #include diff --git a/deps/v8/src/wasm/wasm-disassembler.cc b/deps/v8/src/wasm/wasm-disassembler.cc index 6c5da414047fcb..1690ca026e7581 100644 --- a/deps/v8/src/wasm/wasm-disassembler.cc +++ b/deps/v8/src/wasm/wasm-disassembler.cc @@ -4,6 +4,8 @@ #include "src/wasm/wasm-disassembler.h" +#include + #include "src/debug/debug-interface.h" #include "src/numbers/conversions.h" #include "src/wasm/module-decoder-impl.h"