FYI, hope this might help other

With GCC 4.2.x you need to add -fno-strict-aliasing otherwise it will
complain and bail out with an error message

cc1plus: warnings being treated as errors
src/ia32/register-allocator-ia32.cc: In member function 'void
v8::internal::Result::ToRegister()':
src/ia32/register-allocator-ia32.cc:56:34: error: dereferencing type-
punned pointer will break strict-aliasing rules
src/ia32/register-allocator-ia32.cc: In member function 'void
v8::internal::Result::ToRegister(v8::internal::Register)':
src/ia32/register-allocator-ia32.cc:105:36: error: dereferencing type-
punned pointer will break strict-aliasing rules
scons: *** [obj/release/ia32/register-allocator-ia32.o] Error 1
scons: building terminated because of errors.


Adding this to the SConscript and all when well (OpenSolaris system)


-ls

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

Reply via email to