Very strange :shock: To help, maybe you could post here the portion of code provocating the error and also the full command line used to build your executable?
For CodeBlocks to display the full command line, in case you don't know, just go to Settings/Compiler & Debbugger/Global compiler Settings/Other settings/Full Command line.