diff options
author | Gabe Black <gabeblack@google.com> | 2018-06-15 15:14:54 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2018-08-22 00:55:25 +0000 |
commit | 84c1b3b3ed6d5f03e23efb2efa3fd04b3fab4b35 (patch) | |
tree | 00f706018f3842fd0f713c508c7b142c61ab8d4d /src/systemc/utils/sc_report.cc | |
parent | 5d24b0a5adafa4ae09b29ec0e2cbc1a2ecd4126f (diff) | |
download | gem5-84c1b3b3ed6d5f03e23efb2efa3fd04b3fab4b35.tar.xz |
systemc: Add support for deprecated integer report handler ids.
These are deprecated but still used in the regression tests.
Change-Id: Id59cf950fbe0530a6cdce20a256d450b243f12d3
Reviewed-on: https://gem5-review.googlesource.com/11256
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc/utils/sc_report.cc')
-rw-r--r-- | src/systemc/utils/sc_report.cc | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/src/systemc/utils/sc_report.cc b/src/systemc/utils/sc_report.cc index 0e6b8b0bd..6edbf2a05 100644 --- a/src/systemc/utils/sc_report.cc +++ b/src/systemc/utils/sc_report.cc @@ -110,6 +110,57 @@ sc_report::what() const throw() return ""; } +const char * +sc_report::get_message(int id) +{ + warn("%s not implemented.\n", __PRETTY_FUNCTION__); + return ""; +} + +bool +sc_report::is_suppressed(int id) +{ + warn("%s not implemented.\n", __PRETTY_FUNCTION__); + return false; +} + +void +sc_report::make_warnings_errors(bool) +{ + warn("%s not implemented.\n", __PRETTY_FUNCTION__); +} + +void +sc_report::register_id(int id, const char *msg) +{ + warn("%s not implemented.\n", __PRETTY_FUNCTION__); +} + +void +sc_report::suppress_id(int id, bool) +{ + warn("%s not implemented.\n", __PRETTY_FUNCTION__); +} + +void +sc_report::suppress_infos(bool) +{ + warn("%s not implemented.\n", __PRETTY_FUNCTION__); +} + +void +sc_report::suppress_warnings(bool) +{ + warn("%s not implemented.\n", __PRETTY_FUNCTION__); +} + +int +sc_report::get_id() const +{ + warn("%s not implemented.\n", __PRETTY_FUNCTION__); + return 0; +} + void sc_abort() { |