unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Damien Merenne <dam@cosinux.org>
Cc: 15944@debbugs.gnu.org
Subject: bug#15944: 24.3.50; Compile mode does not detect error correctly
Date: Thu, 21 Nov 2013 21:43:48 -0500	[thread overview]
Message-ID: <j54n752m1n.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <CAAgrLvjvpTY-JRPUQbHZLCiq7nno1-q+dxJOPeQrTp_dhfRJYw@mail.gmail.com>

Damien Merenne wrote:

> When running a C compilation using gcc > 4.7 where it also shows
> column numbers, errors are not detected correctly anymore. This seems
> to have been introduced with compile.el rev 111660:

I can't reproduce this with gcc 4.8.2, and it's hard to see how the
revision you cite could cause such a thing. Please give a complete
example starting from emacs -Q. Mine is:

cat /tmp/go.c:

int main ()
{
     x = 1;
     return 1;
}

emacs -Q -f compile
gcc /tmp/go.c RET

  -*- mode: compilation; default-directory: "~/" -*-
  Compilation started at Thu Nov 21 18:33:21
  
  gcc /tmp/go.c 
  /tmp/go.c: In function 'main':
  /tmp/go.c:3:6: error: 'x' undeclared (first use in this function)
        x = 1;
        ^
  /tmp/go.c:3:6: note: each undeclared identifier is reported only once for each function it appears in
  
  Compilation exited abnormally with code 1 at Thu Nov 21 18:33:21

The error and note are both correctly hyperlinked.





  reply	other threads:[~2013-11-22  2:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-21 11:21 bug#15944: 24.3.50; Compile mode does not detect error correctly Damien Merenne
2013-11-22  2:43 ` Glenn Morris [this message]
2015-12-26  1:12   ` 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=j54n752m1n.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=15944@debbugs.gnu.org \
    --cc=dam@cosinux.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).