🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.sys5
Article #920

Re: lint pass2 error

#920
From: Guy Harris
Date: Thu, 17 Nov 1988 17:05
21 lines
1112 bytes
>When running a *big* program through lint I consistently get the error message:
>/usr/lib/lint2: lint pass2 error: Too many names
>
>The program in question is some 20,000 lines, spread out over ~100 files and
>~500 functions. It obviously overflows some internal lint buffer.
>Exactly what does the error message mean,

It means you've overflowed some internal lint buffer.

To be specific, you've overflowed the table that keeps track of file names.

>and is there a way around it, like some 'undocumented' lint option
>or whatever?

No.  The line in the S5R3 "lint" is

	if ( ( cfno = ffree++ ) >= FSZ )
		lerror( "Too many names", CCLOSE | FATAL);

and FSZ is a compile-time constant.  In S5R3, it's 150 (except on the
PDP-11, where it's 80...).
Technical Details
Message-ID: <465@auspex.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!auspex!guy
References: <173@isncr.is.se>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!auspex!guy
From: guy@auspex.UUCP (Guy Harris)
Newsgroups: comp.bugs.sys5,comp.unix.questions
Subject: Re: lint pass2 error
Message-ID: <465@auspex.UUCP>
Date: 17 Nov 88 17:05:27 GMT
References: <173@isncr.is.se>
Reply-To: guy@auspex.UUCP (Guy Harris)
Organization: Auspex Systems, Santa Clara
Lines: 21