I was only able to get V8 to build with VS2015 by editing build/standalone.gypi as Michael Collins posted. At this time, is V8 tested to work with MSVS 2015? Is there a plan to switch soon?
Thanks, Michael On Monday, July 27, 2015 at 9:54:01 AM UTC-7, Jochen Eisinger wrote: > > I landed some config changes to make v8 compile with MSVS 2015, however, I > haven't ran tests yet. > > Since we don't have MSVS 2015 builders yet, that configuration might > break, however, eventually, we'll switch to MSVS 2015, just not yet now. > > best > -jochen > > On Thu, Jul 23, 2015 at 5:19 PM Michael Collins < > michael...@imaginaryrealities.com <javascript:>> wrote: > >> 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-u...@googlegroups.com <javascript:> >> 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+u...@googlegroups.com <javascript:>. >> 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.