2 eval 'exec perl -wS $0 ${1+"$@"}'
4 # This is a script to get rid of bogus error messages that are spit out
5 # by the compiler - sub 30/11/1999
7 # Lines that contain `xxxx' where xxxx belongs to the list knownMessages
8 # and is surrounded by a backtick (`) and a forward tick (')
9 # will not be seen in the compiler output
17 "__cp_push_exception",
18 "__uncatch_exception",
26 "__builtin_vec_delete",
34 "set_new_handler_FPFv_v",
35 "__throw_type_match_rtti",
37 "exception_type_info",
38 "exception type_info function",
39 "exception type_info node",
40 "exception virtual table",
44 # Create a hash %msgHash from list @knownMessages
45 foreach $msg (@knownMessages) {
50 if (/\`([\s\w]+)\'/) {
52 if (defined($entry)) {
53 if (!exists $msgHash{$entry}) {