Lint 'Array Too Large'?

Doug Toppin toppin at melpar.UUCP
Thu May 25 06:09:37 AEST 1989


We are running IBM Xenix 2 (System V) on the PC/AT (286) and having trouble
with lint. In several cases we have large (>=8k) character arrays globally
defined. Lint says 'Array Too Large' and quits immediately. To use lint
we have to reduce the size.  The same problem occurs on an SCO 286 system.
The following produced the error on both systems:

char a[8000];
main()
{
}

My questions:
    * why does lint care about the size if it is on the heap?
    * how can we get lint to accept it without redefining the size?
    * any useful suggestions or comments?
thanks
Doug Toppin
uunet!melpar!toppin



More information about the Comp.unix.xenix mailing list