Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!uwvax!oddjob!gargoyle!ihnp4!cbosgd!gwspc!cbcsta!n8emr!lwv From: lwv@n8emr.UUCP (Larry W. Virden) Newsgroups: comp.sources.wanted Subject: A new lint wanted Message-ID: <200@n8emr.UUCP> Date: Wed, 5-Aug-87 11:45:24 EDT Article-I.D.: n8emr.200 Posted: Wed Aug 5 11:45:24 1987 Date-Received: Sat, 8-Aug-87 04:44:59 EDT Reply-To: lwv@n8emr.UUCP (Larry W. Virden) Distribution: world Organization: N8EMR's Ham BBS (HBBS), Columbus,Ohio Lines: 41 Keywords: lint, BSD, Ultrix, working needed Summary: Would like to have a lint that works. References: I would like to get a version of lint running under Ultrix 1.2 that works. Or at least, that appears to work. The one that I am using now says that expressions like: char abc = 0; main() { if ( ! abc ) printf("False\n"); else printf("True\n"); exit(0); } should not be using a constant argument to NOT. I THINK, but am not 100% positive, that it says the same thing even for pointers in the above expression. Regardless of one's opinion of the coding style in and of itself, I am not very impressed with the message, which to me is either too cryptic to understand or else is misleading; since the variable can change, how can it be a constant? It is almost as if lint thinks I am talking about the address of abc or something. Anyways, I am looking for a 'better' lint. Personally, the one I was using under the System III-like system that I am used to was more conducive to reading and using the info, but for various reasons I dont want to hassle with others to get legal permissions to port that code - I am looking for a somewhat shorter term solution. Does anyone know of a source for a Unix-y lint? It can have the current ANSI draft standards implemented - I really won't mind :-). Otherwise, just so it truely shows me REAL problems and lets me shut up "non" problems that is all I really care about. Otherwise, does anyone have a good source of info on how a lint is designed? How would one write such a creature? Thanks! -- Larry W. Virden 75046,606 (CIS) 674 Falls Place, Reynoldsburg, OH 43068 (614) 864-8817 cbosgd!n8emr!lwv HAM/SWL BBS (HBBS) 614-457-4227.. 300/1200 bps We haven't inherited the world from our parents, but borrowed it from our children.