[Webkit-unassigned] [Bug 174392] New: [SOUP] Do not use C linkage for functions using C++ features

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 11 14:28:18 PDT 2017


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

            Bug ID: 174392
           Summary: [SOUP] Do not use C linkage for functions using C++
                    features
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aperez at igalia.com

Building with Clang emits the following warning:

  In file included from ../../Source/WebKit2/NetworkProcess/CustomProtocols/soup/LegacyCustomProtocolManagerSoup.cpp:33:
  In file included from DerivedSources/ForwardingHeaders/WebCore/WebKitSoupRequestGeneric.h:1:                                                                  
  Source/WebCore/platform/network/soup/WebKitSoupRequestGeneric.h:61:33:
     warning: 'webkitSoupRequestGenericGetRequest' has C-linkage specified, but returns user-defined
     type 'const WebCore::ResourceRequest &' which is incompatible with C [-Wreturn-type-c-linkage]                                                   
  const WebCore::ResourceRequest& webkitSoupRequestGenericGetRequest(WebKitSoupRequestGeneric*);
                                ^

I'll be uploading a patch for this momentarily.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170711/9cf7ddb2/attachment.html>


More information about the webkit-unassigned mailing list