From 0c43cc8912d644698bf615a92481062b5d353ba2 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 26 Apr 1996 19:45:16 +0000 Subject: [PATCH] (compilation-error-regexp-alist): Add regexp for Microsoft VC++ error messages containing drive letters. --- lisp/progmodes/compile.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 552bff20c99..c485f2169ce 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -119,6 +119,11 @@ or when it is used with \\[next-error] or \\[compile-goto-error].") \\([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 -- 2.39.2