Thanks for the report. This is already fixed in bleeding_edge r11885, will probably be pushed to trunk tomorrow.
On Wed, Jun 20, 2012 at 4:45 PM, Cagri <cagri.balke...@gmail.com> wrote: > Hi, > > I got the following error when I tried to build the trunk version: > > ../src/parser.cc: In static member function ‘static bool > v8::internal::ParserApi::Parse(v8::internal::CompilationInfo*, int)’: > ../src/parser.cc:6029:18: error: variable ‘script’ set but not used > [-Werror=unused-but-set-variable] > > The problem is resolved when I commented out the line 6029: > > 6026 bool ParserApi::Parse(CompilationInfo* info, int parsing_flags) { > 6027 ASSERT(info->function() == NULL); > 6028 FunctionLiteral* result = NULL; > 6029 // Handle<Script> script = info->script(); > > 6030 ASSERT((parsing_flags & kLanguageModeMask) == CLASSIC_MODE); > > FYI. > > Cagri > > -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users