[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#6966: 24.0.50; Emacs cannot find errors reported by GCC 4.5
From: |
Paul Pogonyshev |
Subject: |
bug#6966: 24.0.50; Emacs cannot find errors reported by GCC 4.5 |
Date: |
Wed, 1 Sep 2010 20:50:01 +0300 |
User-agent: |
KMail/1.13.5 (Linux/2.6.29-2-686; KDE/4.4.5; i686; ; ) |
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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#6966: 24.0.50; Emacs cannot find errors reported by GCC 4.5,
Paul Pogonyshev <=