I managed to get v8 to build under Visual Studio 2015 RTM. The issues that 
I ran into were with treating warnings as errors. Some things that were 
allowed under VS2013 now cause warnings with the VS2015 C++ compiler. 
There's a warning about a "typedef enum" without a name in dbghelp.h (line 
1544) that causes some of the warnings. Others appear to be 
reinterpret_cast<T> warnings going from int to void *. I'm assuming since 
this was ok in VS2013 that they're also ok in VS2015, but I haven't done a 
significant amount of testing with the VS2015 build yet.

To get this to work, follow the wiki instructions up until the point that 
you run "python build\gyp_v8". Before doing that, you have to turn off the 
/WX compiler flag. The only way that I found to do this was to edit 
build/standalone.gypi and modify line 682 by setting 'WarnAsError' to 
'false'. After doing that, I ran the build\gyp_v8 script:

    python build\gyp_v8 -Dtarget_arch=x64 -Dcomponent=shared_library

Finally, run MSBuild to build the project:

    msbuild /p:Configuration=Release build\All.sln

I tried different options like passing in "-Dwerror=no" or trying to turn 
off /WX by passing properties to MSBuild, but nothing else seems to 
work.Editing standalone.gypi seems like the only option. If anyone has any 
other options for turning this off with Visual Studio, please let me know.

-- 
-- 
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.

Reply via email to