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]

Re: Parseable output generation from gcc.


On Tue, 12 Jun 2001, John Carter wrote:

> On Mon, 11 Jun 2001, Eric Weiss wrote:
> 
> > |1001|bar.c|...|...|...|...|error|blah blah blah error
> > |2112|foo.c|...|...|...|...|warn|blah blah blah warning
> 
> Each error/warning should have a unique identifier so the ide can be
> set to discard / highlight ones that the user currently doesn't care
> about / regards as important.
> 
> ie. There should be a simpler way to distinguish between two different
> warnings than parsing the text of the warnings.

Before proposing any new sort of magic identifier for warnings, read the
thread starting at http://gcc.gnu.org/ml/gcc/1998-09/msg00353.html (the
patch was objected to, and present in GCC for < 1 day), and the discussion
from June 2000 linked to from the projects list
(http://gcc.gnu.org/ml/gcc/2000-06/msg00639.html - but until web/3119 is
fixed by restoring the relevant messages from backup, you'll need to find
them in the mbox archives instead) about pragmas for fine-grained warning
control.

-- 
Joseph S. Myers
jsm28@cam.ac.uk


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