here is the build output (partial) when I compile one of my projects
mingw32-g++.exe -std=c++11 -Wall -DSFML_STATIC -g -IC:\SFML\2.0\include -c C:\Users\iopi\Desktop\Projects\ROBOCode\eye.cpp -o obj\Debug\eye.o
0x is worth a shot, but if he is on the latest CB & MingW I wouldn't think it would be necessary o.o
One that crossed my mind... did you uninstall Code:Blocks completely and re install (CB 12.11 w/ MingW 4.71). *maybe* your code blocks ide is somehow pointing to the old ming version?
Are you compiling through the ide or trying to do it through console?