[Cobolforgcc-devel] Debug Error Routines
Status: Pre-Alpha
Brought to you by:
timjosling
|
From: Steven O. E. <so...@so...> - 2000-11-26 00:33:47
|
Thanks, Tim. Suppose there is an error, then. What do I use for an error routine in the "ifndef NDEBUG" code? Is there an example somewhere? Steven > Steven, > > OK feel free to put the number of items back in. You can use it > in validation, bracketed by > > #ifndef NDEBUG > ....... > #endif > In terms of discussion, my ideal scenario would be for you to > subscribe to the cobolforgcc-devel mailing list and put the > discussion in there. > If you register in sourceforge we could also start tracking your > work as tasks in their too. > Regards, > Tim Josling > "Steven O. Ellis" wrote: >> >> Tim, >> >> Yes, this way of defining the test arrays ought to help immensely. I didn't think >> of that. Thanks! >> >> cobr_string.c looks good! However, I'm a little uneasy about not including the >> number of items in the from array, even if it's not used in the current >> implementation, because of the (theoretical) possibility of an overflow. I >> didn't use it because there's no parameter checking, but I wonder if there should >> be some kind of check in this case. Are we so sure that no one will ever pass too >> many delimiters for the number of items? >> >> I entered this into the SourceForge discussion group per your request--please let >> me know if this is what you had in mind. >> >> Steven |