This message referencing to static lightning building (also called baking) not C++ code, if you make all lights dynamic the message should dissaper, when light is set to static each time you move it it need to be rebuild and that message tries to remind you about it