[Webkit-unassigned] [Bug 170987] New: [GTK] WebKitAutocleanups.h regression in v2.16.1 release

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 19 05:12:47 PDT 2017


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

            Bug ID: 170987
           Summary: [GTK] WebKitAutocleanups.h regression in v2.16.1
                    release
           Product: WebKit
           Version: Other
          Hardware: All
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aperez at igalia.com
                CC: bugs-noreply at webkitgtk.org

As reported in this post by Robert Bisewski:

  https://lists.webkit.org/pipermail/webkit-gtk/2017-April/003012.html

Original e-mail text follows.

----

I was attempting to compile my webkit2-based browser `sighte` using the
new v2.16.1 release of webkit2-gtk when I noticed the following warning
from my gcc v6.3.0 compiler:

/usr/include/webkitgtk-4.0/webkit2/WebKitAutocleanups.h:83:77: 
warning: ISO C does not allow extra ‘;’ outside of a function
[-Wpedantic] G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitWebsiteData, 
webkit_website_data_unref);

This is no means a hold up for my project, but the warning did not
appear before, so I figured taking a bit of time to track down exactly
what was causing it would be in order.

While I am not exactly well-versed at your code base, just glancing
quickly from Trac leads me to believe that the specific commit appears
to be this one:

https://trac.webkit.org/changeset/214163/webkit

Simply removing the aforementioned ; character from the file
WebKitAutocleanups.h on line 83 seems to resolve the warning in
question.

If adding the semi-colon is not intended, then I hope you find this
helpful :)

-- 
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/20170419/86510527/attachment-0001.html>


More information about the webkit-unassigned mailing list