Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!rochester!pt.cs.cmu.edu!o.gp.cs.cmu.edu!andrew.cmu.edu!aw1r+ From: aw1r+@andrew.cmu.edu (Alfred Benjamin Woodard) Newsgroups: comp.lang.c++ Subject: Re: Can I turn off specific "not used" warnings in cfront? Message-ID: <8bFiBwm00VABQ0svRL@andrew.cmu.edu> Date: 18 Nov 90 19:39:40 GMT References: <11704@spool.cs.wisc.edu> Organization: Carnegie Mellon, Pittsburgh, PA Lines: 19 In-Reply-To: <11704@spool.cs.wisc.edu> elliott@veronica.cs.wisc.edu (James Elliott) writes: > ... I get tons of warnings about unused variables. > Normally these are very handy, but this time I >know< I am not using > them, and can't really do anything about it. This makes it difficult > for me (and Emacs) to sift actual errors out of the sea of warnings. > This might sound like a silly solution but I solved the same type of problem a while back. I was working under unix using csh and so I simply piped all my compile output through grep: EX: CC foo.c |& fgrep warning I had to use |& rather than | because I compile errors come through stderr rather than stdout. Hope this helps. -ben