From: "William and Lorie Thex" Newsgroups: comp.os.msdos.djgpp References: <95bbfn$qbp$1 AT saphir DOT jouy DOT inra DOT fr> Subject: Re: DJGPP and lint-like utility Lines: 52 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Message-ID: Date: Sat, 3 Feb 2001 23:39:08 -0700 NNTP-Posting-Host: 205.163.36.230 X-Complaints-To: abuse AT onemain DOT com X-Trace: nntp2.onemain.com 981268889 205.163.36.230 (Sun, 04 Feb 2001 01:41:29 EST) NNTP-Posting-Date: Sun, 04 Feb 2001 01:41:29 EST To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Take a look at LCLint. http://lclint.cs.virginia.edu/ William Thex Eric Wajnberg wrote in message news:95bbfn$qbp$1 AT saphir DOT jouy DOT inra DOT fr... > > Hi all, > > Sorry if this is a FAQ. However, I did not found anything on this is the FAQ > list. > > I am coming from UNIX mainframes where I am usually developping my C codes. I > have now to develop a code on a PC platform, and I choose the DJGPP/RHIDE > development environment. It works well. > > I am in need now for an utility program that can do an accurate check of the > code before compiling it. Actually I need something like lint, wich is > standard in all UNIX OS. I mean something that can - of course - identify > syntax problems and wrong declarations, but also all weird things like > declaration of parameters/functions not used in the remaining part of the > code, or global parameters than could be local, etc.. > > The use of -Wall is helpfull, but - as long as I've seen - it does not > generate warnings if a parameter/function is declared and unused, etc. > > Is there an utility program doing what I want? Moreover, it would be great if > this could be ran within RHIDE.. > > Thanks for any answer on that. > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Eric Wajnberg > Directeur adjoint du GDR CNRS 2155 Ecologie Comportementale > I.N.R.A. > 37, Bld. du Cap. 06600 Antibes. France. > Tel : (33-0) 4.93.67.88.92 > Fax : (33-0) 4.93.67.88.97 > e-mail : wajnberg AT antibes DOT inra DOT fr > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >