[webkit-changes] [WebKit/WebKit] d1d4a8: Fix compiler errors with GCC-12 [GCC] with libwebr...

Manuel A. Fernandez Montecelo noreply at github.com
Fri Jan 13 06:41:12 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d1d4a86a623f5b951e582aad8518f2cc9b4b4401
      https://github.com/WebKit/WebKit/commit/d1d4a86a623f5b951e582aad8518f2cc9b4b4401
  Author: Manuel A. Fernandez Montecelo <mafm at igalia.com>
  Date:   2023-01-13 (Fri, 13 Jan 2023)

  Changed paths:
    M Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCUtils.cpp
    M Source/WebCore/testing/MockLibWebRTCPeerConnection.cpp

  Log Message:
  -----------
  Fix compiler errors with GCC-12 [GCC] with libwebrtc (USE_GSTREAMER_WEBRTC=FALSE)
https://bugs.webkit.org/show_bug.cgi?id=250562

Reviewed by Philippe Normand.

With GCC version 12.2.0 the compiler stops with:
  error: control reaches end of non-void function [-Werror=return-type]
when building these files, at least since commit
9def6e6f0258ddd9171d32bec2fffb684dbc7b8b.

* Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCUtils.cpp:
(WebCore::toRTCErrorDetailType):
* Source/WebCore/testing/MockLibWebRTCPeerConnection.cpp:
(WebCore::MockLibWebRTCPeerConnection::signaling_state):

Canonical link: https://commits.webkit.org/258871@main




More information about the webkit-changes mailing list