For me, it's a compiler error. I use both C and C++ with codelite and if I forget to change my compiler when I go from one to the other (hit the wrench in the Project Folder menu to change), I will get that error. I hope this helps.