I hate it when the code behaves differently in a Release compile than in a Debug compile. I'm tracking this problem down, but it's just being weird out there. *sigh*
Try turning the optimiser off in the Release build and see if it changes things. Debug/Release differences are usually caused by it not being to optimise something which is flawed because the debug code is in the way.
Turned out it wasn't the optimizer, it was the buffer overrun checker that seems to have blown a fuse. Thanks for the suggestion, though, as it definitely pointed in the right direction.
no subject
Date: 2005-04-22 07:33 am (UTC)Try turning the optimiser off in the Release build and see if it changes things. Debug/Release differences are usually caused by it not being to optimise something which is flawed because the debug code is in the way.
no subject
Date: 2005-04-22 08:28 pm (UTC)