Iru Cai has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/46399 )

Change subject: systemc: include <typeinfo>
......................................................................

systemc: include <typeinfo>

GCC 11.1 complains about not finding std::type_info, which is in
header <typeinfo>.

Change-Id: I3b4352c8caeac73815f569911f47a7dfbddf23f3
Signed-off-by: Iru Cai <mytbk920...@gmail.com>
---
M src/systemc/ext/tlm_utils/instance_specific_extensions_int.h
1 file changed, 1 insertion(+), 0 deletions(-)



diff --git a/src/systemc/ext/tlm_utils/instance_specific_extensions_int.h b/src/systemc/ext/tlm_utils/instance_specific_extensions_int.h
index a391091..e7036ac 100644
--- a/src/systemc/ext/tlm_utils/instance_specific_extensions_int.h
+++ b/src/systemc/ext/tlm_utils/instance_specific_extensions_int.h
@@ -19,6 +19,7 @@
 #ifndef __SYSTEMC_EXT_TLM_UTILS_INSTANCE_SPECIFIC_EXTENSIONS_INT_H__
 #define __SYSTEMC_EXT_TLM_UTILS_INSTANCE_SPECIFIC_EXTENSIONS_INT_H__

+#include <typeinfo>
 #include <vector>

 #include "../tlm_core/2/generic_payload/array.hh"

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

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I3b4352c8caeac73815f569911f47a7dfbddf23f3
Gerrit-Change-Number: 46399
Gerrit-PatchSet: 1
Gerrit-Owner: Iru Cai <mytbk920...@gmail.com>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to