Skip to content
New issue

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

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

Closed

Conversation

sam-github
Copy link
Contributor

Fixes: #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

@nodejs-github-bot nodejs-github-bot added v10.x v8 engine Issues and PRs related to the V8 dependency. labels Apr 27, 2020
@sam-github sam-github requested a review from targos April 27, 2020 15:26
@addaleax addaleax changed the title deps: fix V8 compiler error with clang++-11 [v10.x] deps: fix V8 compiler error with clang++-11 Apr 27, 2020
@nodejs-github-bot
Copy link
Collaborator

@MylesBorins
Copy link
Contributor

Does this require a bump to V8 version

@targos
Copy link
Member

targos commented May 4, 2020

Does this require a bump to V8 version

Yes, in common.gypi

@nodejs-github-bot
Copy link
Collaborator

@sam-github
Copy link
Contributor Author

Pushed bump to the patch level.

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@sam-github
Copy link
Contributor Author

https://ci.nodejs.org/job/node-test-commit-linux/34933/ failed on euid tests, hard to see how they are related. resumed again.

Fixes: nodejs#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:
@nodejs-github-bot
Copy link
Collaborator

nodejs-github-bot commented Jul 1, 2020

richardlau pushed a commit that referenced this pull request Jul 1, 2020
Fixes: #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:

PR-URL: #33094
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
@richardlau
Copy link
Member

Landed in 89a306b.

@richardlau richardlau closed this Jul 1, 2020
@richardlau richardlau mentioned this pull request Jul 2, 2020
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v8 engine Issues and PRs related to the V8 dependency.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants