Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!melpar!toppin From: toppin@melpar.UUCP (Doug Toppin) Newsgroups: comp.unix.xenix Subject: Lint 'Array Too Large'? Keywords: lint xenix Message-ID: <204@melpar.UUCP> Date: 24 May 89 20:09:37 GMT Distribution: usa Organization: E-Systems, Falls Church, VA Lines: 18 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