danf: curl-www/auto ccwarn.pm,1.3,1.4
| Newsgroups | gmane.comp.web.curl.www.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/curl/curl-www/auto
In directory labb:/tmp/cvs-serv1856
Modified Files:
ccwarn.pm
Log Message:
Try a new way of detecting GNU ld error messages.
Index: ccwarn.pm
===================================================================
RCS file: /cvsroot/curl/curl-www/auto/ccwarn.pm,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- ccwarn.pm 31 Jan 2007 22:14:49 -0000 1.3
+++ ccwarn.pm 31 Jan 2007 22:45:28 -0000 1.4
@@ -38,9 +38,7 @@
# MSVC
($l =~ /^[\.\\]*([.\\\/a-zA-Z0-9-]*)\.[chy]\(([0-9:]*)/) ||
# GNU ld error
- # It's tough to reliably detect individual ld error messages, so
- # instead highlight gcc's complaint that ld failed.
- ($l =~ /: ld returned/))
+ ($l =~ /^[^ ?*]*ld: /))
{
my $re;
foreach $re (@ig) {