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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 5 01:58:27 PDT 2019


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

            Bug ID: 199510
           Summary: [ATK] 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: Accessibility
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aperez at igalia.com
                CC: webkit-bug-importer at group.apple.com

Clang correctly warns about the following:

In file included from DerivedSources/WebCore/unified-sources/UnifiedSource-f34946be-9.cpp:1:
In file included from ../Source/WebCore/editing/atk/FrameSelectionAtk.cpp:29:
../Source/WebCore/accessibility/atk/WebKitAccessible.h:74:31: warning: 'webkitAccessibleGetAccessibilityObject' has C-linkage specified, but returns user-defined type 'WebCore::AccessibilityObject &' which is incompatible with C [-Wreturn-type-c-linkage]
WebCore::AccessibilityObject& webkitAccessibleGetAccessibilityObject(WebKitAccessible*);
                              ^

-- 
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/20190705/147a2b87/attachment-0001.html>


More information about the webkit-unassigned mailing list