[Webkit-unassigned] [Bug 145922] New: [GTK] Fix deprecated-register warning in the generated WebKitMarshal.cpp

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 12 04:26:11 PDT 2015


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

            Bug ID: 145922
           Summary: [GTK] Fix deprecated-register warning in the generated
                    WebKitMarshal.cpp
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ossy at webkit.org
            Blocks: 145121

DerivedSources/webkit2gtk/webkit2/WebKitMarshal.cpp:65:3: warning: 'register' storage class specifier is deprecated [-Wdeprecated-register]
  register GMarshalFunc_BOOLEAN__BOXED callback;
  ^~~~~~~~~
DerivedSources/webkit2gtk/webkit2/WebKitMarshal.cpp:66:3: warning: 'register' storage class specifier is deprecated [-Wdeprecated-register]
  register GCClosure *cc = (GCClosure*) closure;
  ^~~~~~~~~

...

The problem is that WebKitMarshal.cpp is generated by glib-genmarshal. To fix 
it properly, we should fix it in upstream or patch the glib jhbuild module.
Or we should simply disable this warning for this file only.

-- 
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/20150612/e8d0f5dd/attachment-0001.html>


More information about the webkit-unassigned mailing list