Status: New
Owner: ----

New issue 797 by vlovich: v8 fails to compile with arm simulator due to warnings
http://code.google.com/p/v8/issues/detail?id=797

Werror breaks when building with the arm simulator

cc1plus: warnings being treated as errors
/home/vlovich/projects/git/node/deps/v8/src/arm/simulator-arm.cc: In member function 'void assembler::arm::Simulator::DecodeType01(assembler::arm::Instr*)': /home/vlovich/projects/git/node/deps/v8/src/arm/simulator-arm.cc:730: error: array subscript is above array bounds
scons: *** [obj/release/arm/simulator-arm.o] Error 1
cc1plus: warnings being treated as errors
/home/vlovich/projects/git/node/deps/v8/src/handles-inl.h: In member function 'virtual void v8::internal::FullCodeGenerator::VisitCall(v8::internal::Call*)': /home/vlovich/projects/git/node/deps/v8/src/handles-inl.h:50: error: dereferencing pointer '<anonymous>' does break strict-aliasing rules /home/vlovich/projects/git/node/deps/v8/src/utils.h:739: note: initialized from here
scons: *** [obj/release/arm/full-codegen-arm.o] Error 1
cc1plus: warnings being treated as errors
/home/vlovich/projects/git/node/deps/v8/src/handles-inl.h: In static member function 'static void v8::V8::RemoveMessageListeners(void (*)(v8::Handle<v8::Message>, v8::Handle<v8::Value>))': /home/vlovich/projects/git/node/deps/v8/src/handles-inl.h:50: error: dereferencing pointer '<anonymous>' does break strict-aliasing rules /home/vlovich/projects/git/node/deps/v8/src/handles-inl.h:50: error: dereferencing pointer '<anonymous>' does break strict-aliasing rules /home/vlovich/projects/git/node/deps/v8/src/utils.h:739: note: initialized from here cc1plus: error: dereferencing pointer 'dest' does break strict-aliasing rules cc1plus: error: dereferencing pointer 'dest' does break strict-aliasing rules cc1plus: error: dereferencing pointer 'dest' does break strict-aliasing rules cc1plus: error: dereferencing pointer 'dest' does break strict-aliasing rules /home/vlovich/projects/git/node/deps/v8/src/api.cc:3785: note: initialized from here

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

Reply via email to