[Webkit-unassigned] [Bug 142278] New: Silence GCC's -Wstrict-prototypes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 4 08:14:27 PST 2015


            Bug ID: 142278
           Summary: Silence GCC's -Wstrict-prototypes
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rishi.is at lostca.se

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);

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/20150304/f2426ea3/attachment-0002.html>

More information about the webkit-unassigned mailing list