WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
203191
[GTK] C++ comments used in C header files
https://bugs.webkit.org/show_bug.cgi?id=203191
Summary
[GTK] C++ comments used in C header files
Milan Crha
Reported
2019-10-21 03:20:07 PDT
I just tried to compile Evolution with -ansi -D_DEFAULT_SOURCE=1 and I see a lot of warnings coming from WebKitGTK+ like this: /usr/include/webkitgtk-4.0/webkit2/WebKitAutocleanups.h:88:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 88 | #endif // WebKitAutocleanups_h There are a lot of these, from various files. The fix is to use C comments, thus: #endif /* WebKitAutocleanups_h */
Attachments
Patch
(6.96 KB, patch)
2019-10-21 04:42 PDT
,
Carlos Garcia Campos
zan
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Carlos Garcia Campos
Comment 1
2019-10-21 04:42:24 PDT
Created
attachment 381412
[details]
Patch
EWS Watchlist
Comment 2
2019-10-21 04:43:12 PDT
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See
http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Carlos Garcia Campos
Comment 3
2019-10-22 01:48:31 PDT
Committed
r251423
: <
https://trac.webkit.org/changeset/251423
>
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