This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Error message source line display
- From: Florian Weimer <fweimer at redhat dot com>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 14 Oct 2013 10:17:06 +0200
- Subject: Re: Error message source line display
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot DEB dot 2 dot 10 dot 1310130426530 dot 3223 at shack dot dolda2000 dot com>
On 10/13/2013 04:46 AM, Fredrik Tolf wrote:
I did find that there is the `-fno-diagnostics-show-caret` to turn them
off, but it's quite bothersome to have to specify that every single time
I compile something, and passing it through Makefiles' CFLAGS options
shadows other flags that are turned on by default. It's also rather long
and as such obscures the main command. As far as I know, there's no way
to set these options "by default" for GCC, either via environment
variables nor via some configuration file.
There is, through the specs file.
--
Florian Weimer / Red Hat Product Security Team