Skip to content

[v10.x] deps: fix V8 compiler error with clang++-11

Fixes: https://github.com/nodejs/node/issues/33040

	  error: type 'antlr4::tree::TerminalNode *' cannot be narrowed to 'bool'
		  in initializer list [-Wc++11-narrowing]
		ParameterList result{{}, {}, context->VARARGS(), {}};

Occurs twice: ../../deps/v8/src/torque/ast-generator.cc:123:32: ../../deps/v8/src/torque/ast-generator.cc:144:32:

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Merge request reports

Loading