Title: [288480] releases/WebKitGTK/webkit-2.34
Revision
288480
Author
[email protected]
Date
2022-01-24 16:22:57 -0800 (Mon, 24 Jan 2022)

Log Message

Merge r288379 - Build failure with g++ 12: std::exchange undefined
https://bugs.webkit.org/show_bug.cgi?id=235445

Patch by Mike Gorse <[email protected]> on 2022-01-21
Reviewed by Michael Catanzaro.

Source/_javascript_Core:

* API/JSRetainPtr.h: Include <utility>

Source/WebCore:

* platform/graphics/x11/XUniqueResource.h: Include <utility>

Source/WTF:

* wtf/CompletionHandler.h: Include <utility>
* wtf/MallocPtr.h: Ditto

Tools:

* ImageDiff/ImageDiff.cpp: Include <utility>

Modified Paths

Diff

Modified: releases/WebKitGTK/webkit-2.34/Source/_javascript_Core/API/JSRetainPtr.h (288479 => 288480)


--- releases/WebKitGTK/webkit-2.34/Source/_javascript_Core/API/JSRetainPtr.h	2022-01-25 00:19:18 UTC (rev 288479)
+++ releases/WebKitGTK/webkit-2.34/Source/_javascript_Core/API/JSRetainPtr.h	2022-01-25 00:22:57 UTC (rev 288480)
@@ -32,6 +32,7 @@
 #include <_javascript_Core/JSObjectRef.h>
 #include <_javascript_Core/JSStringRef.h>
 #include <algorithm>
+#include <utility>
 
 inline void JSRetain(JSClassRef context) { JSClassRetain(context); }
 inline void JSRelease(JSClassRef context) { JSClassRelease(context); }

Modified: releases/WebKitGTK/webkit-2.34/Source/_javascript_Core/ChangeLog (288479 => 288480)


--- releases/WebKitGTK/webkit-2.34/Source/_javascript_Core/ChangeLog	2022-01-25 00:19:18 UTC (rev 288479)
+++ releases/WebKitGTK/webkit-2.34/Source/_javascript_Core/ChangeLog	2022-01-25 00:22:57 UTC (rev 288480)
@@ -1,3 +1,12 @@
+2022-01-21  Mike Gorse  <[email protected]>
+
+        Build failure with g++ 12: std::exchange undefined
+        https://bugs.webkit.org/show_bug.cgi?id=235445
+
+        Reviewed by Michael Catanzaro.
+
+        * API/JSRetainPtr.h: Include <utility>
+
 2022-01-20  Joseph Griego  <[email protected]>
 
         [JSC] Add section directive in MacroAssemblerX86Common asm blocks

Modified: releases/WebKitGTK/webkit-2.34/Source/WTF/ChangeLog (288479 => 288480)


--- releases/WebKitGTK/webkit-2.34/Source/WTF/ChangeLog	2022-01-25 00:19:18 UTC (rev 288479)
+++ releases/WebKitGTK/webkit-2.34/Source/WTF/ChangeLog	2022-01-25 00:22:57 UTC (rev 288480)
@@ -1,3 +1,13 @@
+2022-01-21  Mike Gorse  <[email protected]>
+
+        Build failure with g++ 12: std::exchange undefined
+        https://bugs.webkit.org/show_bug.cgi?id=235445
+
+        Reviewed by Michael Catanzaro.
+
+        * wtf/CompletionHandler.h: Include <utility>
+        * wtf/MallocPtr.h: Ditto
+
 2022-01-24  Michael Catanzaro  <[email protected]>
 
         REGRESION(r288200): [GTK][WPE] Build broken on Ubuntu 18.04

Modified: releases/WebKitGTK/webkit-2.34/Source/WTF/wtf/CompletionHandler.h (288479 => 288480)


--- releases/WebKitGTK/webkit-2.34/Source/WTF/wtf/CompletionHandler.h	2022-01-25 00:19:18 UTC (rev 288479)
+++ releases/WebKitGTK/webkit-2.34/Source/WTF/wtf/CompletionHandler.h	2022-01-25 00:22:57 UTC (rev 288480)
@@ -25,6 +25,7 @@
 
 #pragma once
 
+#include <utility>
 #include <wtf/Function.h>
 #include <wtf/MainThread.h>
 

Modified: releases/WebKitGTK/webkit-2.34/Source/WTF/wtf/MallocPtr.h (288479 => 288480)


--- releases/WebKitGTK/webkit-2.34/Source/WTF/wtf/MallocPtr.h	2022-01-25 00:19:18 UTC (rev 288479)
+++ releases/WebKitGTK/webkit-2.34/Source/WTF/wtf/MallocPtr.h	2022-01-25 00:22:57 UTC (rev 288480)
@@ -25,6 +25,7 @@
 
 #pragma once
 
+#include <utility>
 #include <wtf/FastMalloc.h>
 #include <wtf/Noncopyable.h>
 

Modified: releases/WebKitGTK/webkit-2.34/Source/WebCore/ChangeLog (288479 => 288480)


--- releases/WebKitGTK/webkit-2.34/Source/WebCore/ChangeLog	2022-01-25 00:19:18 UTC (rev 288479)
+++ releases/WebKitGTK/webkit-2.34/Source/WebCore/ChangeLog	2022-01-25 00:22:57 UTC (rev 288480)
@@ -1,3 +1,12 @@
+2022-01-21  Mike Gorse  <[email protected]>
+
+        Build failure with g++ 12: std::exchange undefined
+        https://bugs.webkit.org/show_bug.cgi?id=235445
+
+        Reviewed by Michael Catanzaro.
+
+        * platform/graphics/x11/XUniqueResource.h: Include <utility>
+
 2022-01-19  Rob Buis  <[email protected]>
 
         Null check m_progressTracker in clearProvisionalLoad

Modified: releases/WebKitGTK/webkit-2.34/Source/WebCore/platform/graphics/x11/XUniqueResource.h (288479 => 288480)


--- releases/WebKitGTK/webkit-2.34/Source/WebCore/platform/graphics/x11/XUniqueResource.h	2022-01-25 00:19:18 UTC (rev 288479)
+++ releases/WebKitGTK/webkit-2.34/Source/WebCore/platform/graphics/x11/XUniqueResource.h	2022-01-25 00:22:57 UTC (rev 288480)
@@ -28,6 +28,8 @@
 
 #if PLATFORM(X11)
 
+#include <utility>
+
 #if USE(GLX)
 typedef unsigned long GLXPbuffer;
 typedef unsigned long GLXPixmap;

Modified: releases/WebKitGTK/webkit-2.34/Tools/ChangeLog (288479 => 288480)


--- releases/WebKitGTK/webkit-2.34/Tools/ChangeLog	2022-01-25 00:19:18 UTC (rev 288479)
+++ releases/WebKitGTK/webkit-2.34/Tools/ChangeLog	2022-01-25 00:22:57 UTC (rev 288480)
@@ -1,3 +1,12 @@
+2022-01-21  Mike Gorse  <[email protected]>
+
+        Build failure with g++ 12: std::exchange undefined
+        https://bugs.webkit.org/show_bug.cgi?id=235445
+
+        Reviewed by Michael Catanzaro.
+
+        * ImageDiff/ImageDiff.cpp: Include <utility>
+
 2021-11-16  Chris Dumez  <[email protected]>
 
         Crash under WebKit::WebPageProxy::commitProvisionalPage()

Modified: releases/WebKitGTK/webkit-2.34/Tools/ImageDiff/ImageDiff.cpp (288479 => 288480)


--- releases/WebKitGTK/webkit-2.34/Tools/ImageDiff/ImageDiff.cpp	2022-01-25 00:19:18 UTC (rev 288479)
+++ releases/WebKitGTK/webkit-2.34/Tools/ImageDiff/ImageDiff.cpp	2022-01-25 00:22:57 UTC (rev 288480)
@@ -33,6 +33,7 @@
 #include <cstdlib>
 #include <stdio.h>
 #include <string.h>
+#include <utility>
 
 #ifdef _WIN32
 #include <fcntl.h>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to