Skip to content
Permalink
Browse files
Build failure with g++ 12: std::exchange undefined
https://bugs.webkit.org/show_bug.cgi?id=235445

Patch by Mike Gorse <mgorse@suse.com> on 2022-01-21
Reviewed by Michael Catanzaro.

Source/JavaScriptCore:

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


Canonical link: https://commits.webkit.org/246276@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@288379 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
mgorse authored and webkit-commit-queue committed Jan 21, 2022
1 parent 6818f43 commit 198b392130b8dd625f4d5d36e652954eececb16b
Showing 9 changed files with 43 additions and 0 deletions.
@@ -32,6 +32,7 @@
#include <JavaScriptCore/JSObjectRef.h>
#include <JavaScriptCore/JSStringRef.h>
#include <algorithm>
#include <utility>

inline void JSRetain(JSClassRef context) { JSClassRetain(context); }
inline void JSRelease(JSClassRef context) { JSClassRelease(context); }
@@ -1,3 +1,12 @@
2022-01-21 Mike Gorse <mgorse@suse.com>

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 <zdobersek@igalia.com>

[RISCV64] Add MacroAssemblerRISCV64 branch-testing operations
@@ -1,3 +1,13 @@
2022-01-21 Mike Gorse <mgorse@suse.com>

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 <said@apple.com>

[Cocoa] Accelerated filters are enabled by the wrong setting
@@ -25,6 +25,7 @@

#pragma once

#include <utility>
#include <wtf/Function.h>
#include <wtf/MainThread.h>

@@ -25,6 +25,7 @@

#pragma once

#include <utility>
#include <wtf/FastMalloc.h>
#include <wtf/Noncopyable.h>

@@ -1,3 +1,12 @@
2022-01-21 Mike Gorse <mgorse@suse.com>

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 <zalan@apple.com>

[LFC][IFC] Inline boxes with collapsible content only should not be considered opaque bidi items
@@ -28,6 +28,8 @@

#if PLATFORM(X11)

#include <utility>

#if USE(GLX)
typedef unsigned long GLXPbuffer;
typedef unsigned long GLXPixmap;
@@ -1,3 +1,12 @@
2022-01-21 Mike Gorse <mgorse@suse.com>

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 <jbedard@apple.com>

[EWS] Use token when processing hook
@@ -34,6 +34,7 @@
#include <cstdlib>
#include <stdio.h>
#include <string.h>
#include <utility>

#ifdef _WIN32
#include <fcntl.h>

0 comments on commit 198b392

Please sign in to comment.