diff lisp/progmodes/compile.el @ 15084:01518892abad

(compilation-error-regexp-alist): Add regexp for Microsoft VC++ error messages containing drive letters.
author Richard M. Stallman <rms@gnu.org>
date Fri, 26 Apr 1996 19:45:16 +0000
parents db1942b2425e
children 18414e324084
line wrap: on
line diff
--- a/lisp/progmodes/compile.el	Fri Apr 26 19:31:40 1996 +0000
+++ b/lisp/progmodes/compile.el	Fri Apr 26 19:45:16 1996 +0000
@@ -119,6 +119,11 @@
 \\([a-zA-Z]?:?[^:( \t\n]+\\)[:(][ \t]*\\([0-9]+\\)\\([) \t]\\|\
 :\\([^0-9\n]\\|\\([0-9]+:\\)\\)\\)" 1 2 5)
 
+    ;; Microsoft C/C++:
+    ;;  keyboard.c(537) : warning C4005: 'min' : macro redefinition
+    ;;  d:\tmp\test.c(23) : error C2143: syntax error : missing ';' before 'if'
+    ("\n\\(\\([a-zA-Z]:\\)?[^:( \t\n-]+\\)[:(][ \t]*\\([0-9]+\\)[:) \t]" 1 3)
+
     ;; Borland C++:
     ;;  Error ping.c 15: Unable to open include file 'sys/types.h'
     ;;  Warning ping.c 68: Call to function 'func' with no prototype