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

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

bug#7180: 24.0.50; compilation-mode still has annoying issues with stand


From: Lars Ingebrigtsen
Subject: bug#7180: 24.0.50; compilation-mode still has annoying issues with standard error msgs
Date: Tue, 08 Dec 2020 17:41:10 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Miles Bader <miles@gnu.org> writes:

> [In the following example, the compiler is "clang++" (I was trying out
> clang) but both recent and old versions of "g++" show exactly the same
> problem, so it's nothing to do with clang in particular.]
>
> The following is some compiler output:
>
> ----------------
> clang++ -DHAVE_CONFIG_H -I.  -I/usr/include/libpng12   -pthread 
> -I/usr/include/OpenEXR      -I/usr/include/lua5.1    -O3 -fomit-frame-pointer 
> -ffast-math -march=native -mfpmath=sse -g -std=c++98 -Wall -Wextra 
> -pedantic-errors  -fno-finite-math-only -MT envmap-light.o -MD -MP -MF 
> .deps/envmap-light.Tpo -c -o envmap-light.o envmap-light.cc
> In file included from envmap-light.cc:13:
> In file included from ./scene.h:18:
> ./surface.h:75:55: error: extra ';' inside a struct or union [-pedantic]
>   virtual Sampler *make_sampler () const { return 0; };
>                                                       ^
> ----------------
>
> When I hit next-error, it should jump directly to the real error
> ("./surface.h:..."), but instead it positions the cursor on the first
> "error context line", ("In file included from envmap-light.cc:13:"),

(This bug report unfortunately got no response at the time.)

Are you still seeing this issue in mode recent Emacs versions?  I tried
putting the example output in a buffer and `M-x compilation-mode', and
it looks to me like it was parsed correctly:

PNG image


-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

reply via email to

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