[Webkit-unassigned] [Bug 201601] New: [Win][WebKitLegacy] WebKitDLL.h(53, 37): warning: 'gClassNameCount' has C-linkage specified, but returns user-defined type 'HashCountedSet<WTF::String> &' which is incompatible with C [-Wreturn-type-c-linkage]

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 9 00:26:47 PDT 2019


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

            Bug ID: 201601
           Summary: [Win][WebKitLegacy] WebKitDLL.h(53,37): warning:
                    'gClassNameCount' has C-linkage specified, but returns
                    user-defined type 'HashCountedSet<WTF::String> &'
                    which is incompatible with C [-Wreturn-type-c-linkage]
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: Hironori.Fujii at sony.com

[Win][WebKitLegacy] WebKitDLL.h(53,37): warning: 'gClassNameCount' has C-linkage specified, but returns user-defined type 'HashCountedSet<WTF::String> &' which is incompatible with C [-Wreturn-type-c-linkage]

clang-cl reports:

> [4452/5007] Building CXX object Source\WebKitLegacy\CMakeFiles\WebKitLegacy.dir\win\WebKitDLL.cpp.obj
> In file included from ..\..\Source\WebKitLegacy\win\WebKitDLL.cpp:27:
> ..\..\Source\WebKitLegacy\win/WebKitDLL.h(53,37): warning: 'gClassNameCount' has C-linkage specified, but returns user-defined type 'HashCountedSet<WTF::String> &' which is incompatible with C [-Wreturn-type-c-linkage]
> extern HashCountedSet<WTF::String>& gClassNameCount();
>                                     ^
> 1 warning generated.

-- 
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/20190909/b99b00a9/attachment.html>


More information about the webkit-unassigned mailing list