delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/02/01/12:31:57

Date: Thu, 1 Feb 2001 19:28:10 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
cc: djgpp AT delorie DOT com
Subject: Re: DJGPP and lint-like utility
In-Reply-To: <Pine.LNX.4.10.10102011806140.879-100000@acp3bf>
Message-ID: <Pine.SUN.3.91.1010201192527.18177A-100000@is>
MIME-Version: 1.0
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

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019