summaryrefslogtreecommitdiff
path: root/src/systemc/ext
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemc/ext')
-rw-r--r--src/systemc/ext/utils/sc_report.hh10
-rw-r--r--src/systemc/ext/utils/sc_report_handler.hh4
2 files changed, 14 insertions, 0 deletions
diff --git a/src/systemc/ext/utils/sc_report.hh b/src/systemc/ext/utils/sc_report.hh
index 9ba2b334d..f0ed14fb2 100644
--- a/src/systemc/ext/utils/sc_report.hh
+++ b/src/systemc/ext/utils/sc_report.hh
@@ -74,6 +74,16 @@ class sc_report : public std::exception
const char *get_process_name() const;
virtual const char *what() const throw();
+
+ // Deprecated
+ static const char *get_message(int id);
+ static bool is_suppressed(int id);
+ static void make_warnings_errors(bool);
+ static void register_id(int id, const char *msg);
+ static void suppress_id(int id, bool); // Only for info or warning.
+ static void suppress_infos(bool);
+ static void suppress_warnings(bool);
+ int get_id() const;
};
// A non-standard function the Accellera datatypes rely on.
diff --git a/src/systemc/ext/utils/sc_report_handler.hh b/src/systemc/ext/utils/sc_report_handler.hh
index d0eea77df..6101e2b72 100644
--- a/src/systemc/ext/utils/sc_report_handler.hh
+++ b/src/systemc/ext/utils/sc_report_handler.hh
@@ -68,6 +68,10 @@ class sc_report_handler
static void report(sc_severity, const char *msg_type, const char *msg,
int verbosity, const char *file, int line);
+ // Deprecated
+ static void report(sc_severity, int id, const char *msg, const char *file,
+ int line);
+
static sc_actions set_actions(sc_severity, sc_actions=SC_UNSPECIFIED);
static sc_actions set_actions(const char *msg_type,
sc_actions=SC_UNSPECIFIED);