Comment #1 on issue 2478 by [email protected]: Compiling with clang fails with a warning about an unused private field
http://code.google.com/p/v8/issues/detail?id=2478

Looks like that variable is only used in debug mode. You can change line 55 of src/parser.cc so that it reads:

  ~PositionStack() { ASSERT(!*ok_ || is_empty()); USE(ok_); }

and see if that helps.

As a quick workaround, you can also compile with:

make native werror=no

to make the compiler not treat warnings as errors.

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

Reply via email to