From dad94a100ed813aab7267f261a2abbfb7016a63f Mon Sep 17 00:00:00 2001 From: Dana Robinson <43805+derobins@users.noreply.github.com> Date: Mon, 2 May 2022 17:22:07 -0700 Subject: Updates warnhist script to deal with AMD Optimizing Compiler messages (#1713) --- bin/warnhist | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/warnhist b/bin/warnhist index 0150138..6146f1e 100755 --- a/bin/warnhist +++ b/bin/warnhist @@ -229,6 +229,9 @@ while (<>) { # Skip variables with the word 'warning' in them next if $_ =~ /_warning_/; + # Skip AMD Optimizing Compiler (aocc) lines "<#> warning(s) generated." + next if $_ =~ / warnings? generated\./; + # "Hide" the C++ '::' symbol until we've parsed out the parts of the line while($_ =~ /\:\:/) { $_ =~ s/\:\:/@@@@/g; -- cgit v0.12