Xref: utzoo comp.emacs:5830 gnu.emacs.bug:647 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!ndcheg!uceng!kamat From: kamat@uceng.UC.EDU (Govind N. Kamat) Newsgroups: comp.emacs,gnu.emacs.bug Subject: Parsing lint error messages doesn't seem to work right Keywords: lint, errors, parse Message-ID: <849@uceng.UC.EDU> Date: 9 Apr 89 19:03:22 GMT Followup-To: comp.emacs Organization: Univ. of Cincinnati, College of Engg. Lines: 27 Gnu-Emacs does a very good job of parsing compiler error messages. But it does not seem to recognize messages from lint correctly. On the machine I am using, they are of the form: file.c ============== (69) warning: main() returns random value to invocation environment (117) static variable free unused warning: possible pointer alignment problem (128) ============== name defined but never used free file.c(118) Is this different from the output of other lints? I tried looking at the code in compile.el but could not get very far. Right now, I am piping this stuff through sed to convert it into a format emacs will understand! I guess there must be a better way -- I'd be glad for any pointers on this. I am using Gnu-Emacs 18.51 on HP-UX (SysV + BSD enhancements) if that's relevant. Thanks very much. -- Govind N. Kamat College of Engineering kamat@uceng.UC.EDU University of Cincinnati Cincinnati OH USA 45221