Re: [v8-users] xcode not detecting full SetAccessor function definition.

2014-12-08 Thread Jakob Kummerow
On Sun, Dec 7, 2014 at 2:59 AM, Alberto Gonzalez kuna...@gmail.com wrote:

 I'm having this compilation problem with the latest version of xcode. When
 trying to use the class SetAccessor


SetAccessor is not a class.


 and passing a setter function, it tells me No matching member function
 for call to 'SetAccessor'. I'm looking at the header and it does have a
 parameter for setter, anyone else had this problem? I tried removing the
 default value, but I'm still getting the same issue.


It would help to be more specific. I'm guessing you're trying to call
v8::ObjectTemplate::SetAccessor? What function exactly are you passing as
an argument? Probably it doesn't match the signature defined by the
AccessorNameSetterCallback typedef. What's the full compiler error that
you're getting?



  --
 --
 v8-users mailing list
 v8-users@googlegroups.com
 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 v8-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
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 v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[v8-users] xcode not detecting full SetAccessor function definition.

2014-12-06 Thread Alberto Gonzalez
I'm having this compilation problem with the latest version of xcode. When 
trying to use the class SetAccessor and passing a setter function, it tells 
me No matching member function for call to 'SetAccessor'. I'm looking at 
the header and it does have a parameter for setter, anyone else had this 
problem? I tried removing the default value, but I'm still getting the same 
issue.

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
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 v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.