danf: curl-www/auto ccwarn.pm,1.2,1.3
| Newsgroups | gmane.comp.web.curl.www.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/curl/curl-www/auto
In directory labb:/tmp/cvs-serv26606
Modified Files:
ccwarn.pm
Log Message:
Highlight gcc link failures
Index: ccwarn.pm
===================================================================
RCS file: /cvsroot/curl/curl-www/auto/ccwarn.pm,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- ccwarn.pm 13 Apr 2006 17:27:21 -0000 1.2
+++ ccwarn.pm 31 Jan 2007 22:14:49 -0000 1.3
@@ -36,7 +36,11 @@
# MIPS o32 compiler:
($l =~ /^cfe: Warning (\d*):/) ||
# MSVC
- ($l =~ /^[\.\\]*([.\\\/a-zA-Z0-9-]*)\.[chy]\(([0-9:]*)/))
+ ($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/))
{
my $re;
foreach $re (@ig) {