Update CodeBlocks project.
Fix GCC warnings.