I'm getting
warning: ignoring return value of function declared with warn_unused_result
attribute [-Wunused-result]
obj->Set(isolate->GetCurrentContext(),
^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Presumably I should get the return result of Object::Set. But what shall I
do if it returns false? Throw an exception and give up? How bad is it
when this happens? I don't seem to find a code example handling this in
the sample code, such as shell.cc or d8.cc.
Thanks in advance for the advice!
--
--
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
---
You received this message because you are subscribed to the Google Groups
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.