I just found the problem and fixed it ... summary .. The files were located on a network drive on a Windows box, the build was occurring on a Linux Debian installation. I listed the files in that folder from linux and noticed the problem file was all CAPS. I noticed the file name in Code::Blocks was all lower case. So from linux I did a mv on the file to convert it to lower case. Tried build and it worked, it didn't pick the file up. To confirm, I changed the file again, built and it built it (so it was finding it), next I built again and it correctly didn't build it. So there you go, it's a upper/lower case mismatch issue from Code::Blocks in Linux accessing files on a file system where case is not significant.