[webkit-gtk] Possible minor WebKitAutocleanups.h regression in v2.16.1 release

Robert Bisewski contact at ibiscybernetics.com
Tue Apr 18 23:24:29 PDT 2017


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:

warning: ISO C does not allow extra ‘;’ outside of a function
[-Wpedantic] G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitWebsiteData, 

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:


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

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

Robert Bisewski

More information about the webkit-gtk mailing list