Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!swrinde!ucsd!ucbvax!ucdavis!iris!kuan From: kuan@iris.ucdavis.edu (Frank [Who me?] Kuan) Newsgroups: comp.lang.c Subject: Array bounds checking with C???? Message-ID: <7611@ucdavis.ucdavis.edu> Date: 25 Aug 90 02:01:11 GMT Sender: usenet@ucdavis.ucdavis.edu Reply-To: kuan@iris.ucdavis.edu (Frank [Who me?] Kuan) Organization: U.C. Davis - Department of Electrical Engineering and Computer Science Lines: 13 Why is it that most C compilers don't seem to support this nifty little feature? I'm working on a large project, and two of the worst debugging nightmares I've had were due to memory being overwritten from over indexing an array. I was thinking about writing some kind of preprocessor to check for this. Has anyone already written something like this? Thanks in Advance.