From ab54fa853735acfe90a0e125216bbb400e12ee1c Mon Sep 17 00:00:00 2001 From: Stan Cox Date: Wed, 11 Jun 2008 09:39:53 -0400 Subject: Eliminate duplicate warnings. --- session.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'session.h') diff --git a/session.h b/session.h index 646b9154..fc2ca2a9 100644 --- a/session.h +++ b/session.h @@ -163,9 +163,11 @@ struct systemtap_session Dwarf_Addr sym_stext; std::set seen_errors; + std::set seen_warnings; unsigned num_errors () { return seen_errors.size(); } // void print_error (const parse_error& e); void print_error (const semantic_error& e); + void print_warning (std::string w); // reNB: new POD members likely need to be explicitly cleared in the ctor. }; -- cgit