summaryrefslogtreecommitdiffstats
path: root/bin/warnhist
diff options
context:
space:
mode:
authorkmu <kmu@hdfgroup.org>2019-11-26 23:23:34 (GMT)
committerkmu <kmu@hdfgroup.org>2019-11-26 23:23:34 (GMT)
commit4c8a2f726a2eb47a937430e28994db8be1b87b00 (patch)
tree7b6849d8aff9ab9c9fe4b8f6ac40113e69454de3 /bin/warnhist
parentfc61b7a9f3a38331809ebcb6247482943947cdb8 (diff)
downloadhdf5-4c8a2f726a2eb47a937430e28994db8be1b87b00.zip
hdf5-4c8a2f726a2eb47a937430e28994db8be1b87b00.tar.gz
hdf5-4c8a2f726a2eb47a937430e28994db8be1b87b00.tar.bz2
Revert "using a different MACRO"
This reverts commit fc61b7a9f3a38331809ebcb6247482943947cdb8.
Diffstat (limited to 'bin/warnhist')
-rwxr-xr-xbin/warnhist2
1 files changed, 0 insertions, 2 deletions
diff --git a/bin/warnhist b/bin/warnhist
index 6ed529a..507477d 100755
--- a/bin/warnhist
+++ b/bin/warnhist
@@ -205,7 +205,6 @@ 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,7 +265,6 @@ 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;