I'm working with an old compiler that puts out error lines like this:
./code\driver.c(327): WARNING C4200: Other...
I need to fix a couple things:
- Fix the path from Wine/DOS mode to local: ./code\driver.c -> driver.c
- Rewrite "Entering directory ..." lines
- Rewrite the line info: driver.c(327): -> driver.c:327
- And keep everything after that intact
Anybody know a way to re-write compile output to be emacs compatible?
I ended up writing a Python script, but I wouldn't be surprised if there is something directly in emacs that can do all this.