Status: New
Owner: ----

New issue 1642 by [email protected]: Build failure due to redundant code on Mac OSX 10.5.*
http://code.google.com/p/v8/issues/detail?id=1642

Around line 590 in elements.cc there's a switch statement with a case which ends with a break after a return. Some versions of gcc (including those on OSX 10.5.8) think that means the function can fall out the bottom with no return code, and the warning is considered an error. The break statement should be dropped to allow v8 to build. This affects node.js as well, which won't accept this out-of-tree patch:
<https://github.com/cjheath/node/commit/53f1eef6ce34ed9b5968150d63992f8dd28ca6c3>.

Please fix in v8.

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

Reply via email to