unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#12287: 24.2.50; Identify g++ template instantiation trace
@ 2012-08-27 14:16 Christopher Schmidt
  2013-01-13  8:57 ` Christopher Schmidt
  0 siblings, 1 reply; 4+ messages in thread
From: Christopher Schmidt @ 2012-08-27 14:16 UTC (permalink / raw)
  To: 12287

[-- Attachment #1: Type: text/plain, Size: 455 bytes --]

g++ might emit one of the following lines as part of an error messages:

    foo.hpp:1:4:   required from ‘FOO’
    bar.cpp:2:5:   required from here
    rms.hpp:3:6:   [ skipping EMACS instantiation contexts ]

Right now (GNU Emacs 24.2.50.3 (x86_64-unknown-linux-gnu, GTK+ Version
2.24.10) of 2012-08-26) these are picked up by
compilation-error-regexp-alist-alist as errors although these messages
just provide context to the real error.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: compilation-error-regexp-alist-alist.diff --]
[-- Type: text/x-diff, Size: 1080 bytes --]

=== modified file 'lisp/ChangeLog'
--- lisp/ChangeLog	2012-08-27 09:05:55 +0000
+++ lisp/ChangeLog	2012-08-27 13:58:09 +0000
@@ -1,3 +1,8 @@
+2012-08-27  Christopher Schmidt  <christopher@ch.ristopher.com>
+
+	* progmodes/compile.el (compilation-error-regexp-alist-alist):
+	Identify g++ template instantiation trace (Bug#).
+
 2012-08-27  Drew Adams  <drew.adams@oracle.com>
 
 	* dired.el (dired-pop-to-buffer): Make window start at beginning

=== modified file 'lisp/progmodes/compile.el'
--- lisp/progmodes/compile.el	2012-08-26 13:42:18 +0000
+++ lisp/progmodes/compile.el	2012-08-27 14:11:47 +0000
@@ -255,7 +255,8 @@
 \\([0-9]+\\)\\(?:[.:]\\([0-9]+\\)\\)?\
 \\(?:-\\([0-9]+\\)?\\(?:\\.\\([0-9]+\\)\\)?\\)?:\
 \\(?: *\\(\\(?:Future\\|Runtime\\)?[Ww]arning\\|W:\\)\\|\
- *\\([Ii]nfo\\(?:\\>\\|rmationa?l?\\)\\|I:\\|instantiated from\\|[Nn]ote\\)\\|\
+ *\\([Ii]nfo\\(?:\\>\\|rmationa?l?\\)\\|I:\\|\\[ skipping .+ \\]\\|\
+\\(?:instantiated\\|required\\) from\\|[Nn]ote\\)\\|\
  *[Ee]rror\\|\[0-9]?\\(?:[^0-9\n]\\|$\\)\\|[0-9][0-9][0-9]\\)"
      1 (2 . 4) (3 . 5) (6 . 7))
 


[-- Attachment #3: Type: text/plain, Size: 21 bytes --]


        Christopher

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-02-02  6:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-27 14:16 bug#12287: 24.2.50; Identify g++ template instantiation trace Christopher Schmidt
2013-01-13  8:57 ` Christopher Schmidt
2013-01-15 14:04   ` Stefan Monnier
2013-02-02  6:17     ` Christopher Schmidt

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).