[Webkit-unassigned] [Bug 203191] New: [GTK] C++ comments used in C header files

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 21 03:20:07 PDT 2019


            Bug ID: 203191
           Summary: [GTK] C++ comments used in C header files
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcrha at redhat.com
                CC: bugs-noreply at webkitgtk.org

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 */

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/20191021/7fec751a/attachment.html>

More information about the webkit-unassigned mailing list