what is Lint?Help me understand plz...
CASTalk.com Forum Index CASTalk.com
Discussion of DSP, FPGA, storage and embedded system.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web castalk.com
what is Lint?Help me understand plz...

 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Embedded System
Author Message
Guest






Posted: Thu Jan 06, 2005 7:57 am    Post subject: what is Lint?Help me understand plz... Reply with quote

Dear all,
I am often coming across the term "Lint" though I am not aware of
what it is and where it is used.Even I found a thread of discussion
about it in this group.Can some one clarify me whats this "Lint" all
about and what sort of applications require "Lint"?

Sorry for my ignorance,but always better to learn now then later...
Regards,
s.subbarayan
Back to top
Jack Klein
Guest





Posted: Thu Jan 06, 2005 7:57 am    Post subject: Re: what is Lint?Help me understand plz... Reply with quote

On 5 Jan 2005 20:30:11 -0800, s_subbarayan@rediffmail.com wrote in
comp.arch.embedded:

Quote:
Dear all,
I am often coming across the term "Lint" though I am not aware of
what it is and where it is used.Even I found a thread of discussion
about it in this group.Can some one clarify me whats this "Lint" all
about and what sort of applications require "Lint"?

Sorry for my ignorance,but always better to learn now then later...
Regards,
s.subbarayan

There is no one "lint", there are quite a few of them. A lint program
reads C (and some of them C++) source code files and performs many
checks on the code. It will warn about possible and actual problems,
many of them that compilers will not catch even with their highest
warning level turned on. In general, you have to tune a version of
lint to your code and your coding style, or it may generate too many
warning messages.

The two most widely used versions of lint on a PC are:

Splint, free and open source, for C only no C++,
http://www.splint.org.

PC-Lint, a commercial product for both C and C++, comes with
configuration files for many popular compilers and can be customized
for almost any C or C++ compiler. Costs a few hundred dollars, see
http://www.gimpel.com, and well worth the price for anyone doing
serious programming.

Anyone who claims to be a professional programmer developing C or C++
code on a PC for any target who does not use lint on all code before
shipping is actually not a true professional at all.

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.contrib.andrew.cmu.edu/~ajo/docs/FAQ-acllc.html
Back to top
 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Embedded System All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




VoIP Electronics Powered by phpBB