Diff
Modified: trunk/Source/_javascript_Core/API/JSRetainPtr.h (288378 => 288379)
--- trunk/Source/_javascript_Core/API/JSRetainPtr.h 2022-01-21 21:38:37 UTC (rev 288378)
+++ trunk/Source/_javascript_Core/API/JSRetainPtr.h 2022-01-21 21:47:36 UTC (rev 288379)
@@ -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: trunk/Source/_javascript_Core/ChangeLog (288378 => 288379)
--- trunk/Source/_javascript_Core/ChangeLog 2022-01-21 21:38:37 UTC (rev 288378)
+++ trunk/Source/_javascript_Core/ChangeLog 2022-01-21 21:47:36 UTC (rev 288379)
@@ -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-21 Zan Dobersek <[email protected]>
[RISCV64] Add MacroAssemblerRISCV64 branch-testing operations
Modified: trunk/Source/WTF/ChangeLog (288378 => 288379)
--- trunk/Source/WTF/ChangeLog 2022-01-21 21:38:37 UTC (rev 288378)
+++ trunk/Source/WTF/ChangeLog 2022-01-21 21:47:36 UTC (rev 288379)
@@ -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-20 Said Abou-Hallawa <[email protected]>
[Cocoa] Accelerated filters are enabled by the wrong setting
Modified: trunk/Source/WTF/wtf/CompletionHandler.h (288378 => 288379)
--- trunk/Source/WTF/wtf/CompletionHandler.h 2022-01-21 21:38:37 UTC (rev 288378)
+++ trunk/Source/WTF/wtf/CompletionHandler.h 2022-01-21 21:47:36 UTC (rev 288379)
@@ -25,6 +25,7 @@
#pragma once
+#include <utility>
#include <wtf/Function.h>
#include <wtf/MainThread.h>
Modified: trunk/Source/WTF/wtf/MallocPtr.h (288378 => 288379)
--- trunk/Source/WTF/wtf/MallocPtr.h 2022-01-21 21:38:37 UTC (rev 288378)
+++ trunk/Source/WTF/wtf/MallocPtr.h 2022-01-21 21:47:36 UTC (rev 288379)
@@ -25,6 +25,7 @@
#pragma once
+#include <utility>
#include <wtf/FastMalloc.h>
#include <wtf/Noncopyable.h>
Modified: trunk/Source/WebCore/ChangeLog (288378 => 288379)
--- trunk/Source/WebCore/ChangeLog 2022-01-21 21:38:37 UTC (rev 288378)
+++ trunk/Source/WebCore/ChangeLog 2022-01-21 21:47:36 UTC (rev 288379)
@@ -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-21 Alan Bujtas <[email protected]>
[LFC][IFC] Inline boxes with collapsible content only should not be considered opaque bidi items
Modified: trunk/Source/WebCore/platform/graphics/x11/XUniqueResource.h (288378 => 288379)
--- trunk/Source/WebCore/platform/graphics/x11/XUniqueResource.h 2022-01-21 21:38:37 UTC (rev 288378)
+++ trunk/Source/WebCore/platform/graphics/x11/XUniqueResource.h 2022-01-21 21:47:36 UTC (rev 288379)
@@ -28,6 +28,8 @@
#if PLATFORM(X11)
+#include <utility>
+
#if USE(GLX)
typedef unsigned long GLXPbuffer;
typedef unsigned long GLXPixmap;
Modified: trunk/Tools/ChangeLog (288378 => 288379)
--- trunk/Tools/ChangeLog 2022-01-21 21:38:37 UTC (rev 288378)
+++ trunk/Tools/ChangeLog 2022-01-21 21:47:36 UTC (rev 288379)
@@ -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>
+
2022-01-19 Jonathan Bedard <[email protected]>
[EWS] Use token when processing hook
Modified: trunk/Tools/ImageDiff/ImageDiff.cpp (288378 => 288379)
--- trunk/Tools/ImageDiff/ImageDiff.cpp 2022-01-21 21:38:37 UTC (rev 288378)
+++ trunk/Tools/ImageDiff/ImageDiff.cpp 2022-01-21 21:47:36 UTC (rev 288379)
@@ -34,6 +34,7 @@
#include <cstdlib>
#include <stdio.h>
#include <string.h>
+#include <utility>
#ifdef _WIN32
#include <fcntl.h>