Date: Thu, 1 Feb 2001 18:50:31 +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: <95btdc$rda$1@nets3.rz.RWTH-Aachen.DE> 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 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 ;-)