That looks like you have a function called LCDRange defined in a class but not actually declared this is not a generally programming forum and that's not a Code::Blocks problem. You should also get yourself a nightly build (do not install over RC2), head over to the nightly build forum.