GNU bug report logs -
#7180
24.0.50; compilation-mode still has annoying issues with standard error msgs
Previous Next
Reported by: Miles Bader <miles <at> gnu.org>
Date: Sat, 9 Oct 2010 03:09:02 UTC
Severity: normal
Tags: moreinfo
Found in version 24.0.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Miles Bader <miles <at> 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:
[Message part 2 (image/png, inline)]
[Message part 3 (text/plain, inline)]
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 4 years and 180 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.