glew@pdx007.intel.com (Andy Glew) (02/26/91)
The IBM RS 6000 C compiler produces output of the following form cc -c mob-wrapper.c Processing include file ./mob.h 1501-106: (S) Include file grassman.h not found. Processing include file ./mob.h 1 91 | bool in_use; ........a...................... a - 1506-046: (S) Syntax error. Processing include file ./mob.h rather than the "traditional" UNIX error messages that look like the following (produced on a SUN4): cc -c mob-wrapper.c -o mob-wrapper.o ./mob.h: 23: Can't find include file grassman.h While the IBM format error messages might potentially be more informative than the traditional UNIX error messages (they attempt to indicate the position of the error, even if occasionally incorrect) they unfortunately do not work well with GNU EMACS' compile mode, which expects to find the filename and line number of the error close to each other, on the same line as the error messages. (1) Is there some switch setting to make the IBM C compiler give conventional UNIX style error messages? (I have not yet been able to find such a setting) (2) Has anyone ported compile.el to the IBM RS 6000, creating a state machine that can snarf the file and line number? -- --- Andy Glew, glew@ichips.intel.com Intel Corp., M/S JF1-19, 5200 NE Elam Young Parkway, Hillsboro, Oregon 97124-6497 This is a private posting; it does not indicate opinions or positions of Intel Corp.