lint pass2 error

Guy Harris guy at auspex.UUCP
Fri Nov 18 03:05:27 AEST 1988


>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...).



More information about the Comp.bugs.sys5 mailing list