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: Feature request: "Error" string in error messages


"Philip Dunstan" <phil@philipdunstan.com> writes:

| Is it possible to add some sort of "Error:" tag to error messages 
| outputted by gcc? This would facillitate easier filtering of  errors
| in an automated build process where -i is used..
| 
| This could be set up as a configurable string prepended to error
| messages so that the existing default output format does not change.

Erik Schnetter <schnetter@uni-tuebingen.de> writes:

| An incremental search for "error:" is what I wanted to use for a 
| long time.

That is a reasonable request. GCC-3.x, with x >= 3, just does that.

Even more, future versions of GCC may output other diagnostics like 
"note: ", "debug: " and such.

-- Gaby


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