Comment #1 on issue 971 by simon.steele: unable to build mksnapshot with werror on msvcrt shared
http://code.google.com/p/v8/issues/detail?id=971

For what it's worth, same issue on VS2008:

cl /Foobj\release\mksnapshot.obj /c src\mksnapshot.cc /nologo /W3 /WX /wd4351 /wd4355 /wd4800 /O2 /MD /GL /GR- /Gy /nologo /W3 /WX /wd4351 /wd4355 /wd4800 /O2 /MD /GL /DWIN32 /DV8_TARGET_ARCH_IA32 /D_USE_32BIT_TIME_T /DENABLE_VMSTATE_TRACKING /DENABLE_LOGGING_AND_PROFILING /DENABLE_DEBUGGER_SUPPORT /D_HAS_EXCEPTIONS=0 /Isrc /Zi
mksnapshot.cc
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\typeinfo(139) : error C2220: warning treated as error - no 'object' file generated C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\typeinfo(139) : warning C4275: non dll-interface class 'stdext::exception' used as base for dll-interface class 'std::bad_cast' C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\exception(241) : see declaration of 'stdext::exception' C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\typeinfo(138) : see declaration of 'std::bad_cast' C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\typeinfo(160) : warning C4275: non dll-interface class 'stdext::exception' used as base for dll-interface class 'std::bad_typeid' C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\exception(241) : see declaration of 'stdext::exception' C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\typeinfo(159) : see declaration of 'std::bad_typeid'
scons: *** [obj\release\mksnapshot.obj] Error 2
scons: building terminated because of errors.

I also can't build v8_base using the VS project in 2010:

1>..\..\src\ia32\lithium-gap-resolver-ia32.cc(39): error C2220: warning treated as error - no 'object' file generated 1>..\..\src\ia32\lithium-gap-resolver-ia32.cc(39): warning C4351: new behavior: elements of array 'v8::internal::LGapResolver::source_uses_' will be default initialized 1>..\..\src\ia32\lithium-gap-resolver-ia32.cc(39): warning C4351: new behavior: elements of array 'v8::internal::LGapResolver::destination_uses_' will be default initialized

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to