[Webkit-unassigned] [Bug 162261] New: webkit-2.14.0 fails to build due to std::function usage

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 20 02:30:24 PDT 2016


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

            Bug ID: 162261
           Summary: webkit-2.14.0 fails to build due to std::function
                    usage
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jeremyhu at apple.com
                CC: bugs-noreply at webkitgtk.org

2.14.0 fails to build.  2.13.91 built fine.  I didn't get a chance to test 2.13.92 in the few days it was available before 2.14.0 was released.

webkitgtk-2.14.0/Source/WebCore/platform/gtk/PasteboardHelper.h:49:75: error: no type named 'function' in namespace 'std'
    void writeClipboardContents(GtkClipboard*, const DataObjectGtk&, std::function<void()>&& primarySelectionCleared = nullptr);
                                                                     ~~~~~^
webkitgtk-2.14.0/Source/WebCore/platform/gtk/PasteboardHelper.h:49:83: error: expected ')'
    void writeClipboardContents(GtkClipboard*, const DataObjectGtk&, std::function<void()>&& primarySelectionCleared = nullptr);
                                                                                  ^
webkitgtk-2.14.0/Source/WebCore/platform/gtk/PasteboardHelper.h:49:32: note: to match this '('
    void writeClipboardContents(GtkClipboard*, const DataObjectGtk&, std::function<void()>&& primarySelectionCleared = nullptr);
                               ^

It looks like this regressed last week with:

commit e49e53a12bad70cca80c704e8ee2521dfd759d2c
Author: commit-queue at webkit.org <commit-queue at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Sep 14 16:45:48 2016 +0000

    [GTK][Wayland] Implement clipboard support
    https://bugs.webkit.org/show_bug.cgi?id=146574

    Patch by Carlos Garnacho <carlosg at gnome.org> on 2016-09-14
    Reviewed by Carlos Garcia Campos.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160920/11ee7f75/attachment.html>


More information about the webkit-unassigned mailing list