diff options
Diffstat (limited to 'src/systemc/utils/report.cc')
-rw-r--r-- | src/systemc/utils/report.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/systemc/utils/report.cc b/src/systemc/utils/report.cc index 9c26edea3..755542fd6 100644 --- a/src/systemc/utils/report.cc +++ b/src/systemc/utils/report.cc @@ -63,4 +63,11 @@ std::unique_ptr<sc_core::sc_report> globalReportCache; bool reportWarningsAsErrors = false; +DefaultReportMessages::DefaultReportMessages( + std::initializer_list<std::pair<int, const char *>> msgs) +{ + for (auto &p: msgs) + sc_core::sc_report::register_id(p.first, p.second); +} + } // namespace sc_gem5 |