[Webkit-unassigned] [Bug 55294] New: AsyncImageResizer.cpp:45:160: error: request for member ‘operator new’ is ambiguo

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 25 23:21:50 PST 2011


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

           Summary: AsyncImageResizer.cpp:45:160: error: request for
                    member ‘operator new’ is ambiguo
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: kuh3h3 at gmail.com


compile failed (recent svn)

  CXX    Source/WebCore/fileapi/libWebCore_la-FileList.lo
  CXX    Source/WebCore/fileapi/libWebCore_la-FileReader.lo
  CXX    Source/WebCore/fileapi/libWebCore_la-FileReaderLoader.lo
  CXX    Source/WebCore/fileapi/libWebCore_la-FileReaderSync.lo
  CXX    Source/WebCore/fileapi/libWebCore_la-FileStreamProxy.lo
  CXX    Source/WebCore/fileapi/libWebCore_la-ThreadableBlobRegistry.lo
  CXX    Source/WebCore/history/libWebCore_la-BackForwardController.lo
  CXX    Source/WebCore/history/libWebCore_la-BackForwardListImpl.lo
  CXX    Source/WebCore/history/libWebCore_la-CachedFrame.lo
  CXX    Source/WebCore/history/libWebCore_la-CachedPage.lo
  CXX    Source/WebCore/history/libWebCore_la-HistoryItem.lo
  CXX    Source/WebCore/history/libWebCore_la-PageCache.lo
  CXX    Source/WebCore/html/libWebCore_la-AsyncImageResizer.lo
Source/WebCore/html/AsyncImageResizer.cpp: In static member function ‘static WTF::PassRefPtr<WebCore::AsyncImageResizer> WebCore::AsyncImageResizer::create(WebCore::CachedImage*, WebCore::AsyncImageResizer::OutputType, WebCore::IntSize, WebCore::ScriptValue, WebCore::ScriptValue, float, WebCore::AsyncImageResizer::AspectRatioOption, WebCore::AsyncImageResizer::OrientationOption)’:
Source/WebCore/html/AsyncImageResizer.cpp:45:160: error: request for member ‘operator new’ is ambiguous
./Source/JavaScriptCore/wtf/RefCounted.h:136:203: error: candidates are: static void* WTF::RefCounted<T>::operator new(size_t) [with T = WebCore::AsyncImageResizer, size_t = unsigned int]
./Source/JavaScriptCore/wtf/RefCounted.h:136:101: error:                 static void* WTF::RefCounted<T>::operator new(size_t, void*) [with T = WebCore::AsyncImageResizer, size_t = unsigned int]
./Source/WebCore/loader/cache/CachedResourceClient.h:49:125: error:                 static void* WebCore::CachedResourceClient::operator new(size_t)
./Source/WebCore/loader/cache/CachedResourceClient.h:49:23: error:                 static void* WebCore::CachedResourceClient::operator new(size_t, void*)
Source/WebCore/html/AsyncImageResizer.cpp: In destructor ‘virtual WebCore::AsyncImageResizer::~AsyncImageResizer()’:
Source/WebCore/html/AsyncImageResizer.cpp:64:1: error: request for member ‘operator delete’ is ambiguous
./Source/JavaScriptCore/wtf/RefCounted.h:136:360: error: candidates are: static void WTF::RefCounted<T>::operator delete(void*) [with T = WebCore::AsyncImageResizer]
./Source/WebCore/loader/cache/CachedResourceClient.h:49:282: error:                 static void WebCore::CachedResourceClient::operator delete(void*)
Source/WebCore/html/AsyncImageResizer.cpp: In destructor ‘virtual WebCore::AsyncImageResizer::~AsyncImageResizer()’:
Source/WebCore/html/AsyncImageResizer.cpp:64:1: error: request for member ‘operator delete’ is ambiguous
./Source/JavaScriptCore/wtf/RefCounted.h:136:360: error: candidates are: static void WTF::RefCounted<T>::operator delete(void*) [with T = WebCore::AsyncImageResizer]
./Source/WebCore/loader/cache/CachedResourceClient.h:49:282: error:                 static void WebCore::CachedResourceClient::operator delete(void*)
In file included from ./Source/JavaScriptCore/wtf/CrossThreadRefCounted.h:36:0,
                 from ./Source/JavaScriptCore/wtf/text/StringImpl.h:28,
                 from ./Source/JavaScriptCore/wtf/text/WTFString.h:28,
                 from ./Source/WebCore/platform/text/PlatformString.h:28,
                 from ./Source/WebCore/platform/KURL.h:29,
                 from ./Source/WebCore/platform/network/BlobData.h:34,
                 from ./Source/WebCore/fileapi/Blob.h:34,
                 from Source/WebCore/html/AsyncImageResizer.h:36,
                 from Source/WebCore/html/AsyncImageResizer.cpp:34:
./Source/JavaScriptCore/wtf/RefCounted.h: In member function ‘void WTF::RefCounted<T>::deref() [with T = WebCore::AsyncImageResizer]’:
./Source/JavaScriptCore/wtf/PassRefPtr.h:59:13:   instantiated from ‘void WTF::derefIfNotNull(T*) [with T = WebCore::AsyncImageResizer]’
./Source/JavaScriptCore/wtf/RefPtr.h:58:63:   instantiated from ‘WTF::RefPtr<T>::~RefPtr() [with T = WebCore::AsyncImageResizer]’
Source/WebCore/html/AsyncImageResizer.h:57:21:   instantiated from here
./Source/JavaScriptCore/wtf/RefCounted.h:141:13: error: request for member ‘operator delete’ is ambiguous
./Source/JavaScriptCore/wtf/RefCounted.h:136:360: error: candidates are: static void WTF::RefCounted<T>::operator delete(void*) [with T = WebCore::AsyncImageResizer]
./Source/WebCore/loader/cache/CachedResourceClient.h:49:282: error:                 static void WebCore::CachedResourceClient::operator delete(void*)
Source/WebCore/html/AsyncImageResizer.cpp: In static member function ‘static WTF::PassRefPtr<WebCore::AsyncImageResizer> WebCore::AsyncImageResizer::create(WebCore::CachedImage*, WebCore::AsyncImageResizer::OutputType, WebCore::IntSize, WebCore::ScriptValue, WebCore::ScriptValue, float, WebCore::AsyncImageResizer::AspectRatioOption, WebCore::AsyncImageResizer::OrientationOption)’:
Source/WebCore/html/AsyncImageResizer.cpp:46:1: warning: control reaches end of non-void function
make[1]: *** [Source/WebCore/html/libWebCore_la-AsyncImageResizer.lo] error 1
make[1]: Leaving directory `/media/sdc1/WebKit'
make: *** [all] error 2
O_O[/media/sdc1/WebKit]$

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