This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Error message source line display


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]