yangtse: curl-www/auto ccwarn.pm,1.10,1.11

[email protected]
Newsgroups gmane.comp.web.curl.www.cvs
Message-ID <[email protected]>
Update of /cvsroot/curl/curl-www/auto
In directory labb:/tmp/cvs-serv25141/auto

Modified Files:
	ccwarn.pm 
Log Message:
Adjust check for Tru64 DEC/Compaq C compiler highlighting of warnings

Index: ccwarn.pm
===================================================================
RCS file: /cvsroot/curl/curl-www/auto/ccwarn.pm,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- ccwarn.pm	16 Jul 2008 09:39:50 -0000	1.10
+++ ccwarn.pm	20 Jul 2008 17:56:59 -0000	1.11
@@ -27,8 +27,8 @@
     if (($l =~ /([.\/a-zA-Z0-9]*)\.[chsy]:([0-9:]*): /) ||
         # AIX xlc warnings:
         ($l =~ /\"([_.\/a-zA-Z0-9]+)\", line/) ||
-        # Tru64 cc warning:
-        ($l =~ /^cc: Warning: ([.\/a-zA-Z0-9]*)/) ||
+        # Tru64 DEC/Compaq C compiler:
+        ($l =~ /^cc: ((Warning)|(Error)|(Severe))?: ([.\/a-zA-Z0-9]*)/) ||
         # MIPSPro C 7.3:
         ($l =~ /cc: (REMARK|WARNING) File/) ||
         # Intel icc 8.0:
@@ -43,8 +43,6 @@
         ($l =~ /^libtool: link: /) ||
         # NetWare's nlmconv linker
         ($l =~ /^nlmconv:/) ||
-        # Tru64 compiler
-        ($l =~ /^cc: Error:/) ||
         # GNU and MIPS ld error
         ($l =~ /^[^ ?*]*ld((32)|(64))?: /))
     {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.