bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#12287: 24.2.50; Identify g++ template instantiation trace


From: Christopher Schmidt
Subject: bug#12287: 24.2.50; Identify g++ template instantiation trace
Date: Mon, 27 Aug 2012 15:16:41 +0100 (BST)

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.
=== 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))
 

        Christopher

reply via email to

[Prev in Thread] Current Thread [Next in Thread]