Hi there

I've been trying to compile and run v8 on a mac but I'm having problems. 

I used the basic compilation args.gn generated by `gn args 
out.gn/x64.release.sample`:

```
is_component_build = false
is_debug = true
target_cpu = "x64"
use_custom_libcxx = false
v8_monolithic = true
v8_use_external_startup_data = false
```

However when I'm calling a native function in JS, FunctionCallbackInfo 
object has the arguments in reverse. I've been looking into v8.h and it 
seems that this is happening because V8_REVERSE_JSARGS is not defined. I've 
changed the code just to force V8_REVERSE_JSARGS to be defined and it works.

I'm pretty sure that either I'm missing an GN option, or less likely, 
there's a bug on the mac compilation rules. 

Am I missing something?

Artur


-- 
-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- 
You received this message because you are subscribed to the Google Groups 
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-dev/fd23f478-971e-447b-a3ff-dddce2bf8f1en%40googlegroups.com.

Reply via email to