summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-04-26 19:45:16 +0000
committerRichard M. Stallman <rms@gnu.org>1996-04-26 19:45:16 +0000
commit0c43cc8912d644698bf615a92481062b5d353ba2 (patch)
treedcbe61d1c80f4b0a31917d735792ad23e597a790 /lisp
parent43a3bdccec5ce24ba5e299d70183879162dec66e (diff)
downloademacs-0c43cc8912d644698bf615a92481062b5d353ba2.tar.gz
(compilation-error-regexp-alist): Add regexp
for Microsoft VC++ error messages containing drive letters.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/progmodes/compile.el5
1 files changed, 5 insertions, 0 deletions
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