This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Explicitly include <array> for std::array<>.
- From: John Baldwin <jhb at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 4 Sep 2017 23:04:43 -0000
- Subject: [binutils-gdb] Explicitly include <array> for std::array<>.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=31cf148787509fcf33bc6adb05bbf16bee48835d
commit 31cf148787509fcf33bc6adb05bbf16bee48835d
Author: John Baldwin <jhb@FreeBSD.org>
Date: Mon Sep 4 15:58:38 2017 -0700
Explicitly include <array> for std::array<>.
gdb/ChangeLog:
* unittests/array-view-selftests.c: Add include of <array>.
Diff:
---
gdb/ChangeLog | 4 ++++
gdb/unittests/array-view-selftests.c | 1 +
2 files changed, 5 insertions(+)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index abded2c..cef374a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2017-09-04 John Baldwin <jhb@FreeBSD.org>
+ * unittests/array-view-selftests.c: Add include of <array>.
+
+2017-09-04 John Baldwin <jhb@FreeBSD.org>
+
* spu-tdep.c (flush_ea_cache): Add missing argument to
call_function_by_hand.
diff --git a/gdb/unittests/array-view-selftests.c b/gdb/unittests/array-view-selftests.c
index c4c95bc..e5c0043 100644
--- a/gdb/unittests/array-view-selftests.c
+++ b/gdb/unittests/array-view-selftests.c
@@ -20,6 +20,7 @@
#include "defs.h"
#include "selftest.h"
#include "common/array-view.h"
+#include <array>
namespace selftests {
namespace array_view_tests {