From: Gerrit Voss (vossg++at++igd.fhg.de)
Date: 04/19/2000 06:46:06
Hi,
>
> Hello everybody,
> slight offtopic, but related.
> The C++ Compiler 7.3.1 does not match to emacs and other programs error
> parser to edit in the proper place of source code on compiling errors.
>
> Is there some solution for this problem?
> A small emacs .el File, which allows the output of CC to parse and jump
> to the proper line of source depending on the error occured?
>
I have added the following to my .emacs file (this works for emacs 20.4.1)
(require 'compile)
(add-to-list 'compilation-error-regexp-alist
'("cc-\\([0-9]+\\) CC: \\(ERROR\\|WARNING\\|REMARK\\) File = \\(\\S-+\\), Line = \\([0-9]+\\)" 3 4))
Hope it helps,
Gerrit
-- +-----------------------------------------------------------------------------+ | Disclaimer : unless explicitly otherwise stated, my | | statements represent my personal viewpoints only. | +-----------------------------------------------------------------------------+ | Linux is like an indian tent: | | no gates, no windows, and Apache inside!! | | | | | | Gerrit Voss | | Email : vossg++at++igd.fhg.de | | Tel : +49 6151 155 277 | | WWW : http://www.igd.fhg.de/igd-a4/staff/voss.html | | | | Fraunhofer Institute for Computer Graphics | | | | | | NT makes the easy stuff easy, and the rest impossible. | | Unix makes everything possible, but nothing too easy. | +-----------------------------------------------------------------------------+
This archive was generated by hypermail 2b29 : Wed Apr 19 2000 - 06:46:22 PDT