summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorkmu <kmu@hdfgroup.org>2019-11-25 21:17:55 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:20:23 (GMT)
commit9a3a13cacb2c519a5c4deab817606a743e9ece0d (patch)
tree301966796df9631e883d1fe728f5e168ca96a353 /bin
parentbb53a566e8a45490b3179290774c3f1450d7d8dd (diff)
downloadhdf5-9a3a13cacb2c519a5c4deab817606a743e9ece0d.zip
hdf5-9a3a13cacb2c519a5c4deab817606a743e9ece0d.tar.gz
hdf5-9a3a13cacb2c519a5c4deab817606a743e9ece0d.tar.bz2
using a different MACRO
Diffstat (limited to 'bin')
-rwxr-xr-xbin/warnhist2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/warnhist b/bin/warnhist
index e48e591..a88474b 100755
--- a/bin/warnhist
+++ b/bin/warnhist
@@ -206,6 +206,7 @@ while (<>) {
($last_c_name, $toss) = split /\:/, $_;
}
+ # Retain C/C++ compile line, which comes with the line of warning
if($_ =~ /.*[A-Za-z0-9_]\.[chC]\(.*[0-9]\):.*#.*/) {
$last_c_name = $_;
}
@@ -266,6 +267,7 @@ while (<>) {
$line =~ s/^\s*line\s*//g;
# print "name:'", $name, "'-'", $line, "'\n";
# print "warning:'", $warning, "'\n";
+ # Check for Intel icc warning
} elsif($_ =~ /.*[A-Za-z0-9_]\.[chC]\(.*[0-9]\):.*#.*/) {
($last_c_name, $toss, $warning) = split /\:/, $last_c_name;
($name, $line) = split /\(/, $last_c_name;