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
[email protected]
http://groups.google.com/group/v8-users