Daniel Carvalho has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/19089

Change subject: base: Fix missing headers to CircularQueue
......................................................................

base: Fix missing headers to CircularQueue

CircularQueue is currently throwing compilation errors when creating
a derived class.

assert() needs <cassert>
ptrdiff_t needs <cstddef>
(u)intX_t need <cstdint>
random_access_iterator_tag needs <iterator>
is_same, enable_if and others need <type_traits>

Change-Id: I77a78e7b13f7a8b8e7e8b2b872065d78d1ab815a
Signed-off-by: Daniel R. Carvalho <[email protected]>
---
M src/base/circular_queue.hh
1 file changed, 5 insertions(+), 0 deletions(-)



diff --git a/src/base/circular_queue.hh b/src/base/circular_queue.hh
index da3da8b..22783aa 100644
--- a/src/base/circular_queue.hh
+++ b/src/base/circular_queue.hh
@@ -40,6 +40,11 @@
 #ifndef __BASE_CIRCULAR_QUEUE_HH__
 #define __BASE_CIRCULAR_QUEUE_HH__

+#include <cassert>
+#include <cstddef>
+#include <cstdint>
+#include <iterator>
+#include <type_traits>
 #include <vector>

 /** Circular queue.

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/19089
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: I77a78e7b13f7a8b8e7e8b2b872065d78d1ab815a
Gerrit-Change-Number: 19089
Gerrit-PatchSet: 1
Gerrit-Owner: Daniel Carvalho <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to