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 */
Created attachment 381412 [details] Patch
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
Committed r251423: <https://trac.webkit.org/changeset/251423>