You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
NodeJs v8.0.0-v8.1.0, C4716: 'v8::ArrayBuffer::Allocator::Reserve': must return a value #13392
It 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.
Activity
addaleax commentedon Jun 2, 2017
UNIMPLEMENTED()just crashes, there’s no point in returning anything; can you show the actual error that you get from compiling?prepare commentedon Jun 2, 2017
This is the only one error when I build it.
prepare commentedon Jun 2, 2017
To pass that, I fix it by adding return nullptr;
joaocgreis commentedon Jun 6, 2017
I confirm this happens in debug builds.
prepare commentedon Jun 9, 2017
Still not fixed in NodeJS v 8.1.0 (main source from webpage)

aqrln commentedon Jun 9, 2017
As far as I understand, this is an issue with V8 sources, and thus should be reported in their issue tracker, shouldn't it?
prepare commentedon Jun 9, 2017
@aqrln,
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.
:)
gibfahn commentedon Jun 9, 2017
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.
addaleax commentedon Jun 9, 2017
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/
bzoz commentedon Jun 9, 2017
It 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.
TimothyGu commentedon Jun 12, 2017
Adding the exact error message so the issue is searchable: C4716: 'v8::ArrayBuffer::Allocator::Reserve': must return a value
7 remaining items
bzoz commentedon Jun 13, 2017
Fixed in a0f8faa
v8: fix debug builds on Windows
v8: fix debug builds on Windows
Revert of [api] Fix compilation error for `UNIMPLEMENTED()` method (p…
v8: fix debug builds on Windows
v8: fix debug builds on Windows
v8: fix debug builds on Windows