Repository navigation
NodeJs v8.0.0-v8.1.0, C4716: 'v8::ArrayBuffer::Allocator::Reserve': must return a value #13392
Description
Activity
UNIMPLEMENTED()just crashes, there’s no point in returning anything; can you show the actual error that you get from compiling?- addedbuildIssues and PRs related to Node.js builds or CI infrastructure.Issues and PRs related to Node.js builds or CI infrastructure.v8 engineIssues and PRs related to the V8 dependency.Issues and PRs related to the V8 dependency.windowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.
on Jun 2, 2017 I confirm this happens in debug builds.
As far as I understand, this is an issue with V8 sources, and thus should be reported in their issue tracker, shouldn't it?
But the error is 'included' in nodejs's official source snapshot from nodejs's main page.
I think we should patch it before release to other node users (that build from src).
for me, I'm not hurry :)
But I've never see this (err) before in the official node source.
:)
But the error is 'included' in nodejs's official source snapshot from nodejs's main page.
We take everything in
deps/from the maintainers of those projects, and we try not to float patches unless necessary. So in this case nodejs/node deps/v8/src/api.cc#L436 corresponds to v8/v8 src/api.cc#L452.So assuming that this is a V8 issue (and that it's not something special we're doing in Node) the way to get it fixed is to raise it upstream.
As far as I understand, this is an issue with V8 sources, and thus should be reported in their issue tracker, shouldn't it?
Just so you know, this is a temporary situation; these methods will become pure virtual at some point in the (possibly near) future.
Anyway, here’s an upstream patch: https://codereview.chromium.org/2929993003/
Reacted by win, Oleksii Orlenko, Gibson Fahnestock and F. HinkelmannReacted by Gibson FahnestockIt happens only in Debug builds because in Release it is suppressed by whole program optimization. When building V8 by itself function level linking is enabled and it also suppress this.
Reacted by winAdding the exact error message so the issue is searchable: C4716: 'v8::ArrayBuffer::Allocator::Reserve': must return a value
7 remaining items
Fixed in a0f8faa
Reacted by win- added a commit that references this issue
on Jun 29, 2017 - added a commit that references this issue
on Jul 11, 2017 - added a commit that references this issue
on Jul 18, 2017 - added a commit that references this issue
on Jul 18, 2017 - added a commit that references this issue
on Jul 21, 2017 - added a commit that references this issue
on Jul 24, 2017



Do you forget to return the value ?
nodejs
version v8.0.0
build from source (TODAY) from main web page (https://nodejs.org/en/download/current/)
platform: build with VS2015, x64, Win7
In main source from webpage.
This file, dep/v8/src/api.cc
this method (1) should return 'something' (2), it is not void.
so VS2015-> compile error -> semantic check error.
I compare the source from the original main web (3) (https://github.com/nodejs/node/blob/master/deps/v8/src/api.cc#L440)
and the source on github. It has a little diff.