Date: Thu, 1 Feb 2001 19:28:10 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Hans-Bernhard Broeker cc: djgpp AT delorie DOT com Subject: Re: DJGPP and lint-like utility In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Thu, 1 Feb 2001, Hans-Bernhard Broeker wrote: > > And add -Werror for a good measure ;-) > > I'd rather not. With this combination of -W flags, it's *extremely* hard > to get by without a single warning. Adding -Werror, here, would over-do > it. We are not compiling, remember? We are using GCC as a replacement for Lint. So it is okay if it doesn't compile; we can remove -Werror later, if we want to get an executable anyway. In addition, when you compile several files in one go (e.g., from a Makefile), -Werror will stop the compilation after the first file which triggered any messages. This makes it easier to fix problems one file at a time.