public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] libstdc++: Include <cstdint> in tests that use std::uintptr_t
@ 2020-10-27 13:50 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2020-10-27 13:50 UTC (permalink / raw)
  To: libstdc++, gcc-patches

[-- Attachment #1: Type: text/plain, Size: 239 bytes --]

libstdc++-v3/ChangeLog:

	* testsuite/experimental/memory_resource/new_delete_resource.cc:
	Add missing <cstdint> header.
	* testsuite/experimental/memory_resource/resource_adaptor.cc:
	Likewise.

Tested x86_64-linux. Committed to trunk.


[-- Attachment #2: patch.txt --]
[-- Type: text/plain, Size: 1582 bytes --]

commit 01079b6a9236bd467b445fafaff2659840789a85
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Tue Oct 27 13:48:36 2020

    libstdc++: Include <cstdint> in tests that use std::uintptr_t
    
    libstdc++-v3/ChangeLog:
    
            * testsuite/experimental/memory_resource/new_delete_resource.cc:
            Add missing <cstdint> header.
            * testsuite/experimental/memory_resource/resource_adaptor.cc:
            Likewise.

diff --git a/libstdc++-v3/testsuite/experimental/memory_resource/new_delete_resource.cc b/libstdc++-v3/testsuite/experimental/memory_resource/new_delete_resource.cc
index 65a42da3f6a..87c22ff4ae9 100644
--- a/libstdc++-v3/testsuite/experimental/memory_resource/new_delete_resource.cc
+++ b/libstdc++-v3/testsuite/experimental/memory_resource/new_delete_resource.cc
@@ -20,6 +20,7 @@
 
 #include <experimental/memory_resource>
 #include <cstdlib>
+#include <cstdint>
 #include <testsuite_hooks.h>
 
 #if (defined __sun__ || defined __VXWORKS__) && defined __i386__
diff --git a/libstdc++-v3/testsuite/experimental/memory_resource/resource_adaptor.cc b/libstdc++-v3/testsuite/experimental/memory_resource/resource_adaptor.cc
index d16d93768b9..405ccf4624d 100644
--- a/libstdc++-v3/testsuite/experimental/memory_resource/resource_adaptor.cc
+++ b/libstdc++-v3/testsuite/experimental/memory_resource/resource_adaptor.cc
@@ -19,6 +19,7 @@
 // <http://www.gnu.org/licenses/>.
 
 #include <experimental/memory_resource>
+#include <cstdint>
 #include <ext/debug_allocator.h>
 #include <ext/new_allocator.h>
 #include <ext/malloc_allocator.h>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-10-27 13:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-27 13:50 [committed] libstdc++: Include <cstdint> in tests that use std::uintptr_t Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).