Bug Found.
1_ Go to Settings->Compiler and Debugger
2_ Clear the directories in "Search directories"
3_ Go to "Toolchain Executables" and make an Autodetect.
4_ Click OK.
The directories are not set in Search Directories.
Now, make 1, 2 and 3, but click on CANCEL instead of OK.
The directories are set
![Cheesy :D](https://forums.codeblocks.org/Smileys/default/cheesy.gif)
...
Funny, isn't it....
[EDIT]: Oooopppppsss, I have forgotten:
Tested on Windows XP, with SVN 4413