[Webkit-unassigned] [Bug 60380] New: Fix compile with gcc 4.6.0

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 6 10:21:47 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=60380

           Summary: Fix compile with gcc 4.6.0
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: adawit at kde.org


Attempting to compile webkit trunk on my box (ArchLinux x86-64) stops the following error:

Source/JavaScriptCore/runtime/StringPrototype.cpp: In function ‘void* JSC::stringProtoFuncMatch(JSC::ExecState*)’:
Source/JavaScriptCore/runtime/StringPrototype.cpp:631:14: error: variable ‘lastIndex’ set but not used [-Werror=unused-but-set-variable]

The attached patch comments of the offending set but unused variable to prevent this compile breakage.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list