RESOLVED FIXED 142278
Silence GCC's -Wstrict-prototypes
https://bugs.webkit.org/show_bug.cgi?id=142278
Summary Silence GCC's -Wstrict-prototypes
Debarshi Ray
Reported 2015-03-04 08:14:27 PST
In ANSI C, one must specify the argument types (even if it is void) in a function prototype. Otherwise GCC complains. I have gcc-4.9.2 here. In file included from /usr/include/webkitgtk-4.0/JavaScriptCore/JavaScript.h:31:0, from goawebview.c:27: /usr/include/webkitgtk-4.0/JavaScriptCore/JSContextRef.h:51:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] JS_EXPORT JSContextGroupRef JSContextGroupCreate() CF_AVAILABLE(10_6, 7_0); ^
Attachments
Patch (1.19 KB, patch)
2015-03-04 11:06 PST, Debarshi Ray
no flags
Debarshi Ray
Comment 1 2015-03-04 11:06:51 PST
WebKit Commit Bot
Comment 2 2015-03-04 17:52:21 PST
Comment on attachment 247871 [details] Patch Clearing flags on attachment: 247871 Committed r181059: <http://trac.webkit.org/changeset/181059>
WebKit Commit Bot
Comment 3 2015-03-04 17:52:23 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.