danf: curl-www/auto ccwarn.pm,1.20,1.21
[email protected] Fri, 16 Jan 2009 22:11:27 +0000
| Newsgroups | gmane.comp.web.curl.www.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/curl/curl-www/auto
In directory labb:/tmp/cvs-serv14245
Modified Files:
ccwarn.pm
Log Message:
Re-enabled libtool warning detection for a subset of possible warnings
Index: ccwarn.pm
===================================================================
RCS file: /cvsroot/curl/curl-www/auto/ccwarn.pm,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- ccwarn.pm 14 Jan 2009 21:48:20 -0000 1.20
+++ ccwarn.pm 16 Jan 2009 22:11:25 -0000 1.21
@@ -43,8 +43,10 @@
($l =~ /^[\.\\]*([.\\\/a-zA-Z0-9-]*)\.[chy]\(([0-9:]*)/) ||
# libtool 2 prefixes lots of "normal" lines with "libool: link: " so we
- # cannot use that simple rule to detect errors
- # ($l =~ /^libtool: link: /) ||
+ # cannot use that simple rule to detect errors. Adding "warning:" reduces
+ # false positives but skip some legitimate warnings that don't contain
+ # "warning:".
+ ($l =~ /^libtool: \w+: warning:/) ||
# NetWare's nlmconv linker
($l =~ /^nlmconv:/) ||