[Webkit-unassigned] [Bug 118228] New: Build fix: use of long long in CoreIPC::ArgumentEncoder and CoreIPC::ArgumentDecoder

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jun 30 23:41:34 PDT 2013


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

           Summary: Build fix: use of long long in
                    CoreIPC::ArgumentEncoder and CoreIPC::ArgumentDecoder
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: skyul at company100.net


While porting NetworkProcess to Gtk port, I encountered the following compile errors:

In file included from ../../Source/WebKit2/Platform/CoreIPC/ArgumentDecoder.h:29:0,
                 from ../../Source/WebKit2/Platform/CoreIPC/ArgumentCoders.h:29,
                 from ../../Source/WebKit2/Shared/FileAPI/BlobRegistrationData.cpp:31:
../../Source/WebKit2/Platform/CoreIPC/ArgumentCoder.h: In instantiation of `static bool CoreIPC::ArgumentCoder<T>::decode(CoreIPC::ArgumentDecoder&, T&) [with T = long long int]':
../../Source/WebKit2/Platform/CoreIPC/ArgumentDecoder.h:91:49:   required from `bool CoreIPC::ArgumentDecoder::decode(T&) [with T = long long int]'
../../Source/WebKit2/Shared/FileAPI/BlobRegistrationData.cpp:142:39:   required from here
../../Source/WebKit2/Platform/CoreIPC/ArgumentCoder.h:44:36: error: `decode' is not a member of `long long int'
../../Source/WebKit2/Platform/CoreIPC/ArgumentCoder.h: In instantiation of `static void CoreIPC::ArgumentCoder<T>::encode(CoreIPC::ArgumentEncoder&, const T&) [with T = long long int]':
../../Source/WebKit2/Platform/CoreIPC/ArgumentEncoder.h:57:9:   required from `void CoreIPC::ArgumentEncoder::encode(const T&) [with T = long long int]'
../../Source/WebKit2/Platform/CoreIPC/ArgumentEncoder.h:62:9:   required from `CoreIPC::ArgumentEncoder& CoreIPC::ArgumentEncoder::operator<<(const T&) [with T = long long int; CoreIPC::ArgumentEncoder = CoreIPC::ArgumentEncoder]'
../../Source/WebKit2/Shared/FileAPI/BlobRegistrationData.cpp:91:29:   required from here
../../Source/WebKit2/Platform/CoreIPC/ArgumentCoder.h:39:9: error: request for member `encode' in `t', which is of non-class type `const long long int'
../../Source/WebKit2/Platform/CoreIPC/ArgumentCoder.h: In static member function `static bool CoreIPC::ArgumentCoder<T>::decode(CoreIPC::ArgumentDecoder&, T&) [with T = long long int]':
../../Source/WebKit2/Platform/CoreIPC/ArgumentCoder.h:45:5: warning: control reaches end of non-void function [-Wreturn-type]
ICECC[1565] 15:39:58: Compiled on 192.168.100.227

int64_t fixes build.

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