[Webkit-unassigned] [Bug 120915] New: "ISO C++ forbids taking the address of a bound member function" when building jsc on gtk

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 6 18:54:23 PDT 2013


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

           Summary: "ISO C++ forbids taking the address of a bound member
                    function" when building jsc on gtk
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: alonzakai at gmail.com


Running Tools/Scripts/build-jsc --gtk on latest webkit svn gives me output that ends with


  CXX    Source/JavaScriptCore/llint/Programs_LLIntOffsetsExtractor-LLIntOffsetsExtractor.o
In file included from ../../Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:72:0:
../../Source/JavaScriptCore/LLIntDesiredOffsets.h: In static member function ‘static const unsigned int* JSC::LLIntOffsetsExtractor::dummy()’:
../../Source/JavaScriptCore/LLIntDesiredOffsets.h:376143:1: error: ISO C++ forbids taking the address of a bound member function to form a pointer to member function.  Say ‘&JSC::VM::exception’ [-fpermissive]
../../Source/JavaScriptCore/LLIntDesiredOffsets.h:376143:1: error: invalid cast from type ‘JSC::JSValue (JSC::VM::*)()const’ to type ‘ptrdiff_t {aka long int}’
../../Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:77:1: warning: control reaches end of non-void function [-Wreturn-type]
make: *** [Source/JavaScriptCore/llint/Programs_LLIntOffsetsExtractor-LLIntOffsetsExtractor.o] Error 1

Failed to build WebKit using 'make'!


This is with gcc-4.7.2 on Ubuntu 12.10.

-- 
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