unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Miles Bader <miles@gnu.org>
Cc: 7180@debbugs.gnu.org
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	[thread overview]
Message-ID: <874kkwfdy1.fsf@gnus.org> (raw)
In-Reply-To: <87tykwkqkf.fsf@catnip.gol.com> (Miles Bader's message of "Sat, 09 Oct 2010 12:12:00 +0900")

[-- Attachment #1: Type: text/plain, Size: 1405 bytes --]

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:


[-- Attachment #2: Type: image/png, Size: 94437 bytes --]

[-- Attachment #3: Type: text/plain, Size: 105 bytes --]



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

  reply	other threads:[~2020-12-08 16:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-09  3:12 bug#7180: 24.0.50; compilation-mode still has annoying issues with standard error msgs Miles Bader
2020-12-08 16:41 ` Lars Ingebrigtsen [this message]
2021-01-21 17:31   ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874kkwfdy1.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=7180@debbugs.gnu.org \
    --cc=miles@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).