Testing Inline::C

2004-02-11 Thread Ovid
Hi all, http://search.cpan.org/~ovid/AI-NeuralNet-Simple-0.02/ I've a problem in testing Inline::C. In the module AI::NeuralNet::Simple, I do some work allocating and deallocating memory and I've been bitten by a bug where I wasn't allocating memory properly for one of my arrays. It's fixed

Re: Testing Inline::C

2004-02-11 Thread Michael G Schwern
On Wed, Feb 11, 2004 at 08:50:03AM -0800, Ovid wrote: I've a problem in testing Inline::C. In the module AI::NeuralNet::Simple, I do some work allocating and deallocating memory and I've been bitten by a bug where I wasn't allocating memory properly for one of my arrays. It's fixed, but I

Re: Testing Inline::C

2004-02-11 Thread Andrew Savige
Michael G Schwern [EMAIL PROTECTED] wrote: To catch memory mistakes in C, I'd normally use something like Electric Fence or other malloc replacement. Basically something that replaces the memory allocation functions with those that put in magic so that if your program walks outside its