[Webkit-unassigned] [Bug 145837] New: Fix the openwebrtc build with clang

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 10 03:22:12 PDT 2015


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

            Bug ID: 145837
           Summary: Fix the openwebrtc build with clang
    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

Building openwebrtc jhbuild module with clang fails:
-----------------------------------------------------

/home/webkit/WebKit/WebKitBuild/DependenciesEFL/Root/include/gstreamer-1.0/gst/gstcompat.h:54:38: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
  if (((((GstPad*)(pad))->direction) == GST_PAD_SRC))
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/home/webkit/WebKit/WebKitBuild/DependenciesEFL/Root/include/gstreamer-1.0/gst/gstcompat.h:54:38: note: remove extraneous parentheses around the comparison to silence this warning
  if (((((GstPad*)(pad))->direction) == GST_PAD_SRC))
      ~                              ^             ~
/home/webkit/WebKit/WebKitBuild/DependenciesEFL/Root/include/gstreamer-1.0/gst/gstcompat.h:54:38: note: use '=' to turn this equality comparison into an assignment
  if (((((GstPad*)(pad))->direction) == GST_PAD_SRC))
                                     ^~
                                     =
1 warning generated.

-----

gstcompat.h:54 -->  if (GST_PAD_IS_SRC (pad))

Removing the extra parentheses would be very ugly here,
we should simply disable parentheses-equality warning.

-- 
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/20150610/578a8cce/attachment-0001.html>


More information about the webkit-unassigned mailing list