WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
145922
[GTK] Fix deprecated-register warning in the generated WebKitMarshal.cpp
https://bugs.webkit.org/show_bug.cgi?id=145922
Summary
[GTK] Fix deprecated-register warning in the generated WebKitMarshal.cpp
Csaba Osztrogonác
Reported
2015-06-12 04:26:11 PDT
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.
Attachments
Patch
(3.05 KB, patch)
2015-06-15 04:22 PDT
,
Csaba Osztrogonác
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Michael Catanzaro
Comment 1
2015-06-14 09:59:52 PDT
(In reply to
comment #0
)
> To fix it properly, we should fix it in upstream
Done. I usually build inside GNOME jhbuild, so the problem is gone for me :)
> or patch the glib jhbuild module. Or we should simply disable this warning for this file only.
^ But to fix the issue with WebKit jhbuild, we still need to do one of the above.
Csaba Osztrogonác
Comment 2
2015-06-15 04:22:02 PDT
Created
attachment 254872
[details]
Patch Thanks for the quick fix. I prefer adding your upstream patch to the WebKit's jhbuild
WebKit Commit Bot
Comment 3
2015-06-15 06:10:18 PDT
Comment on
attachment 254872
[details]
Patch Clearing flags on attachment: 254872 Committed
r185550
: <
http://trac.webkit.org/changeset/185550
>
WebKit Commit Bot
Comment 4
2015-06-15 06:10:22 PDT
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.
Top of Page
Format For Printing
XML
Clone This Bug