Hi,
Just to let you know that I had the same problem under Linux and this patch has solved the problem perfectly !
Thanks  

I'm running Ubuntu 6.10 on AMD64 dual-core.  I compiled Code::blocks from svn 3614.
I hope this patch will be included in svn repository soon...
Bye
Renaud S