--- Begin Message ---
Subject: |
Handle GCC's -fanalyzer output in M-x compile |
Date: |
Mon, 15 Nov 2021 23:13:05 +0000 |
Tags: patch
GCC's -fanalyzer generates tree-like output, with some file references
being indented like this
--8<---------------cut here---------------start------------->8---
|file.c:42
--8<---------------cut here---------------end--------------->8---
M-x compile appears to assume this means the file name is
" |file.c",
not "file.c". The following patch would fix this behaviour.
If accepted, should it be applied to emacs-28 or master?
In GNU Emacs 28.0.60 (build 14, x86_64-pc-linux-gnu, X toolkit, cairo version
1.16.0, Xaw scroll bars)
of 2021-11-15 built on icterid
Repository revision: e852822f3db469c985bf022651f184d6ff2c518a
Repository branch: emacs-28
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description: Debian GNU/Linux 11 (bullseye)
Configured using:
'configure --with-native-compilation --with-x-toolkit=lucid
--with-imagemagick 'CFLAGS=-O2 -march=native -pipe' LDFLAGS=-flto'
0001-Improve-error-parsing-for-GCC-fanalyzer-output.patch
Description: Text Data
--
Philip Kaludercic
--- End Message ---