GNU bug report logs - #6966
24.0.50; Emacs cannot find errors reported by GCC 4.5

Previous Next

Package: emacs;

Reported by: Paul Pogonyshev <pogonyshev <at> gmx.net>

Date: Wed, 1 Sep 2010 18:02:01 UTC

Severity: normal

Merged with 6979

Found in version 24.0.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Pogonyshev <pogonyshev <at> gmx.net>
To: 6966 <at> debbugs.gnu.org
Subject: bug#6966: 24.0.50; Emacs cannot find errors reported by GCC 4.5
Date: Wed, 1 Sep 2010 20:50:01 +0300
Save the following in 'test.cpp' file:

template <typename X>
struct foo
{
  typedef  typename X::bar  bar;
};

int
main ()
{
  foo <char>  x;
}

Now, type:

    C-u M-x compile
    gcc-4.5 test.cpp -o test

As the compilation results (with the expected errors) appear, invoke
'next-error' (with C-x `, say).  It will not be able to find the error
location and instead prompt in the minibuffer:

    Find this error in (default test.cpp:10): ~/test/

Note that using GCC 4.5 is essential, with 4.4 it works.




This bug report was last modified 14 years and 249 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.