Status: New
Owner: ----

New issue 408 by wael.eloraiby: Compiling error on x64: disasm-x64.cc
http://code.google.com/p/v8/issues/detail?id=408

Here is the error I get when compiling on x64, ubuntu 9.04, g++ 4.3.3

I am compiling the stable version from SVN but I get the following:

g++ -o obj/release/x64/disasm-x64.o -c -Wall -Werror -W
-Wno-unused-parameter -pedantic -fno-strict-aliasing -O3
-fomit-frame-pointer -fdata-sections -ffunction-sections -ansi -fno-rtti
-fno-exceptions -Wall -Werror -W -Wno-unused-parameter -pedantic
-fno-strict-aliasing -O3 -fomit-frame-pointer -fdata-sections
-ffunction-sections -ansi -DV8_TARGET_ARCH_X64
-DENABLE_LOGGING_AND_PROFILING -Isrc src/x64/disasm-x64.cc
cc1plus: warnings being treated as errors
src/x64/disasm-x64.cc: In member function 'void
disasm::DisassemblerX64::get_sib(disasm::byte, int*, int*, int*)':
src/x64/disasm-x64.cc:315: error: suggest parentheses around arithmetic in
operand of |
src/x64/disasm-x64.cc: In member function 'int
disasm::DisassemblerX64::InstructionDecode(v8::internal::Vector<char>,
disasm::byte*)':
src/x64/disasm-x64.cc:1173: error: suggest parentheses around arithmetic in
operand of |


Putting the parentheses before the | solves the problem.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

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

Reply via email to