Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!security!genrad!decvax!harpo!seismo!hao!hplabs!sytek!syteka!olmstead From: olmstead@syteka.UUCP (THIS SPACE FOR RENT) Newsgroups: net.bugs.4bsd Subject: Looking for fixes to bugs in 4.1bsd lint Message-ID: <393@syteka.UUCP> Date: Wed, 2-Nov-83 15:20:27 EST Article-I.D.: syteka.393 Posted: Wed Nov 2 15:20:27 1983 Date-Received: Sun, 6-Nov-83 18:42:26 EST Lines: 20 We've run into several annoying bugs in lint running under 4.1bsd on our 750. It appears that either the preprocessor ACTS differently or IS a different program, depending on whether we're cc'ing or lint'ing. For example, lint sometimes complains about a syntax error on lines containing only '#ifdef DEBUG' beginning in column zero. It also sometimes (maybe always, I'm not sure) objects to '#if' lines. Some of the alleged syntax errors occur on '#ifdef' lines that have been disabled by being encased within '#ifdef notdef' lines. Lint also complains randomly about passing NULL (i.e., 0) to functions expecting pointers, so we get to use casts like func(..., (int *)NULL,...) all over the place. All of these "syntax errors" go through cc just fine, thank you. Has anybody fixed these problems? Has anybody else even SEEN these problems? Any advice will be greatly appreciated. Patrick Olmstead ...ucbvax!menlo70!sytek!olmstead ...decvax!sytek!olmstead (when decvax answers the phone)