[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r110542: Adapt compile.el to changes
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r110542: Adapt compile.el to changes in MSVC diagnostics format. |
Date: |
Sun, 14 Oct 2012 09:40:05 +0200 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 110542
committer: Eli Zaretskii <address@hidden>
branch nick: trunk
timestamp: Sun 2012-10-14 09:40:05 +0200
message:
Adapt compile.el to changes in MSVC diagnostics format.
lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
Adjust the msft regexp to the output of Studio 2010, and move msft
before edg-1. See the discussion on emacs-devel,
http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
for the details.
etc/compilation.txt (msft): Add error messages in new Studio 2010
format.
test/automated/compile-tests.el (compile-tests--test-regexps-data):
Add data for msft's new format.
modified:
etc/ChangeLog
etc/compilation.txt
lisp/ChangeLog
lisp/progmodes/compile.el
test/ChangeLog
test/automated/compile-tests.el
=== modified file 'etc/ChangeLog'
--- a/etc/ChangeLog 2012-10-11 11:26:26 +0000
+++ b/etc/ChangeLog 2012-10-14 07:40:05 +0000
@@ -1,3 +1,8 @@
+2012-10-14 Eli Zaretskii <address@hidden>
+
+ * compilation.txt (msft): Add error messages in new Studio 2010
+ format.
+
2012-10-11 Kenichi Handa <address@hidden>
* charsets/CNS-2.map, charsets/CNS-3.map, charsets/CNS-4.map,
=== modified file 'etc/compilation.txt'
--- a/etc/compilation.txt 2012-01-19 07:21:25 +0000
+++ b/etc/compilation.txt 2012-10-14 07:40:05 +0000
@@ -308,6 +308,13 @@
keyboard handler.c(537) : warning C4005: 'min' : macro redefinition
d:\tmp\test.c(23) : error C2143: syntax error : missing ';' before 'if'
d:\tmp\test.c(1145) : see declaration of 'nsRefPtr'
+1>test_main.cpp(29): error C2144: syntax error : 'int' should be preceded by
';'
+1>test_main.cpp(29): error C4430: missing type specifier - int assumed. Note:
C++ does not support default-int
+1>
+1>Build FAILED.
+1>
+1>Time Elapsed 00:00:01.46
+========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
* Open Watcom
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2012-10-14 01:42:48 +0000
+++ b/lisp/ChangeLog 2012-10-14 07:40:05 +0000
@@ -1,3 +1,11 @@
+2012-10-14 Eli Zaretskii <address@hidden>
+
+ * progmodes/compile.el (compilation-error-regexp-alist-alist):
+ Adjust the msft regexp to the output of Studio 2010, and move msft
+ before edg-1. See the discussion on emacs-devel,
+ http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
+ for the details.
+
2012-10-14 Stefan Monnier <address@hidden>
* emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
=== modified file 'lisp/progmodes/compile.el'
--- a/lisp/progmodes/compile.el 2012-09-24 12:23:25 +0000
+++ b/lisp/progmodes/compile.el 2012-10-14 07:40:05 +0000
@@ -171,6 +171,15 @@
"\\(?:^cucumber\\(?: -p [^[:space:]]+\\)?\\|#\\)\
\\(?: \\)\\([^\(].*\\):\\([1-9][0-9]*\\)" 1 2)
+ (msft
+ ;; Must be before edg-1, so that MSVC's longer messages are
+ ;; considered before EDG.
+ ;; The message may be a "warning", "error", or "fatal error" with
+ ;; an error code, or "see declaration of" without an error code.
+ "^ *\\([0-9]+>\\)?\\(\\(?:[a-zA-Z]:\\)?[^:(\t\n]+\\)(\\([0-9]+\\)) ?\
+: \\(?:see declaration\\|\\(?:warnin\\(g\\)\\|[a-z ]+\\) C[0-9]+:\\)"
+ 2 3 nil (4))
+
(edg-1
"^\\([^ \n]+\\)(\\([0-9]+\\)):
\\(?:error\\|warnin\\(g\\)\\|remar\\(k\\)\\)"
1 2 nil (3 . 4))
=== modified file 'test/ChangeLog'
--- a/test/ChangeLog 2012-09-08 23:32:25 +0000
+++ b/test/ChangeLog 2012-10-14 07:40:05 +0000
@@ -1,3 +1,8 @@
+2012-10-14 Eli Zaretskii <address@hidden>
+
+ * automated/compile-tests.el (compile-tests--test-regexps-data):
+ Add new data for msft's new format.
+
2012-09-08 Dmitry Gutov <address@hidden>
* automated/ruby-mode-tests.el:
=== modified file 'test/automated/compile-tests.el'
--- a/test/automated/compile-tests.el 2012-05-21 04:28:41 +0000
+++ b/test/automated/compile-tests.el 2012-10-14 07:40:05 +0000
@@ -215,6 +215,10 @@
1 nil 23 "d:\\tmp\\test.c")
("d:\\tmp\\test.c(1145) : see declaration of 'nsRefPtr'"
1 nil 1145 "d:\\tmp\\test.c")
+ ("1>test_main.cpp(29): error C2144: syntax error : 'int' should be
preceded by ';'"
+ 3 nil 29 "test_main.cpp")
+ ("1>test_main.cpp(29): error C4430: missing type specifier - int assumed.
Note: C++ does not support default-int"
+ 3 nil 29 "test_main.cpp")
;; watcom
("..\src\ctrl\lister.c(109): Error! E1009: Expecting ';' but found '{'"
1 nil 109 "..\src\ctrl\lister.c")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r110542: Adapt compile.el to changes in MSVC diagnostics format.,
Eli Zaretskii <=