delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
From: | Cesar Rabak <crabak AT acm DOT org> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: strange error |
Date: | Sat, 24 Jul 2004 10:46:00 -0300 |
Lines: | 26 |
Message-ID: | <41026818.6040104@acm.org> |
References: | <2mc7omFl9vr1U1 AT uni-berlin DOT de> <20040724013419 DOT 16860 DOT 00001362 AT mb-m20 DOT aol DOT com> <2met6hFmd866U1 AT uni-berlin DOT de> |
Mime-Version: | 1.0 |
X-Trace: | news.uni-berlin.de uT8gVkzkNokoz4X0Ijdyaw2nBZeL0iR62o9hVg7MjgjKCR9xw= |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.0.2) Gecko/20030208 Netscape/7.02 |
X-Accept-Language: | pt-br, pt |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Hans-Bernhard Broeker escreveu: > Sterten <sterten AT aol DOT com> wrote: > [snipped] > >>Or is there any program/debugger/Compiler around which lets me test >>the array-ranges in C ? > > > There's checker-gcc, Purify and some others, but none of them works on > DJGPP, as far as I'm aware. > IIRC, be checkergcc or MSS, a similar package known to work with DJGPP, only work on allocated memory ('malloced') and do not monitor index values for static arrays. I think that for these cases assert macros around the loops where de index variables are manipulated are a better bet, and are available in the language and full working with DJGPP. my .0199999.... -- Cesar Rabak
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |