This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Why doesn't gcc 4.6 show line numbers in error messages?
- From: David Aldrich <David dot Aldrich at EMEA dot NEC dot COM>
- To: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Mon, 4 Nov 2013 13:56:46 +0000
- Subject: Why doesn't gcc 4.6 show line numbers in error messages?
- Authentication-results: sourceware.org; auth=none
Hi
I hope this isn't a silly question. I am running gcc 4.6.3 on Ubuntu 12. When I compile my source code I get compiler errors in a form that I don't expect. For example:
EVD.cpp:(.text+0x1c6e): undefined reference to `Matrix<std::complex<double> >::Matrix()'
Why is the location of the error shown relative to .text instead of as a simple line number?
Best regards
David