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

Date: Thu, 1 Feb 2001 18:50:31 +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: <95btdc$rda$1@nets3.rz.RWTH-Aachen.DE>
Message-ID: <Pine.SUN.3.91.1010201184924.17516H-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 1 Feb 2001, Hans-Bernhard Broeker wrote:

> If you want a 'lint' emulation, you need a whole slew of further
> options to GCC. Here's my personal favourite at this moment:
> 
> CFLAGS='-g -Wall -O2 \
>  -Dgets=DONT_USE_GETS -Dscanf=DONT_USE_SCANF -Dlint -Wtraditional -Wshadow \
>  -Wpointer-arith -Wnested-externs -Winline -W -Wstrict-prototypes \
>  -Wmissing-prototypes -Wmissing-declarations'

And add -Werror for a good measure ;-)

- Raw text -


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