summaryrefslogtreecommitdiffstats
path: root/bin/warnhist
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2022-05-03 00:22:07 (GMT)
committerGitHub <noreply@github.com>2022-05-03 00:22:07 (GMT)
commitdad94a100ed813aab7267f261a2abbfb7016a63f (patch)
tree2bac4bb1d7a30d2929b7d4bc6b0df50de3e6ab6c /bin/warnhist
parentb3ef8044cf1a61943a2c13826e8cc45668c66a74 (diff)
downloadhdf5-dad94a100ed813aab7267f261a2abbfb7016a63f.zip
hdf5-dad94a100ed813aab7267f261a2abbfb7016a63f.tar.gz
hdf5-dad94a100ed813aab7267f261a2abbfb7016a63f.tar.bz2
Updates warnhist script to deal with AMD Optimizing Compiler messages (#1713)
Diffstat (limited to 'bin/warnhist')
-rwxr-xr-xbin/warnhist3
1 files changed, 3 insertions, 0 deletions
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;