aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1999-04-26 05:09:59 +0000
committerKarl Heuer1999-04-26 05:09:59 +0000
commit717149ecaf88cafbbb4ecce3d1defb5e9d3650a5 (patch)
tree69f12288ec89ed71e8935e4129e0443c5b097a90
parent5b0f8cbcbda0d0e4c6ea659e1b48da29394f356b (diff)
downloademacs-717149ecaf88cafbbb4ecce3d1defb5e9d3650a5.tar.gz
emacs-717149ecaf88cafbbb4ecce3d1defb5e9d3650a5.zip
(compilation-error-regexp-alist): Recognize C++Build 4.0 error message syntax.
-rw-r--r--lisp/progmodes/compile.el11
1 files changed, 7 insertions, 4 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 5f2d3c7b059..0d1ab0d7edf 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -175,16 +175,19 @@ or when it is used with \\[next-error] or \\[compile-goto-error].")
175 ;; parens around the line number, but that caused confusion for 175 ;; parens around the line number, but that caused confusion for
176 ;; GNU-style error messages. 176 ;; GNU-style error messages.
177 ;; This used to reject spaces and dashes in file names, 177 ;; This used to reject spaces and dashes in file names,
178 ;; but they are valudnow; so I made it more strict about the error 178 ;; but they are valid now; so I made it more strict about the error
179 ;; message that follows. 179 ;; message that follows.
180 ("\\(\\([a-zA-Z]:\\)?[^:(\t\n]+\\)(\\([0-9]+\\)) \ 180 ("\\(\\([a-zA-Z]:\\)?[^:(\t\n]+\\)(\\([0-9]+\\)) \
181: \\(error\\|warning\\) C[0-9]+:" 1 3) 181: \\(error\\|warning\\) C[0-9]+:" 1 3)
182 182
183 ;; Borland C++: 183 ;; Borland C++, C++Builder:
184 ;; Error ping.c 15: Unable to open include file 'sys/types.h' 184 ;; Error ping.c 15: Unable to open include file 'sys/types.h'
185 ;; Warning ping.c 68: Call to function 'func' with no prototype 185 ;; Warning ping.c 68: Call to function 'func' with no prototype
186 ("\\(Error\\|Warning\\) \\([a-zA-Z]?:?[^:( \t\n]+\\)\ 186 ;; Error E2010 ping.c 15: Unable to open include file 'sys/types.h'
187 \\([0-9]+\\)\\([) \t]\\|:[^0-9\n]\\)" 2 3) 187 ;; Warning W1022 ping.c 68: Call to function 'func' with no prototype
188 ("\\(Error\\|Warning\\) \\(\\([FEW][0-9]+\\) \\)?\
189\\([a-zA-Z]?:?[^:( \t\n]+\\)\
190 \\([0-9]+\\)\\([) \t]\\|:[^0-9\n]\\)" 4 5)
188 191
189 ;; 4.3BSD lint pass 2 192 ;; 4.3BSD lint pass 2
190 ;; strcmp: variable # of args. llib-lc(359) :: /usr/src/foo/foo.c(8) 193 ;; strcmp: variable # of args. llib-lc(359) :: /usr/src/foo/foo.c(8)