it is a known issue with the designer I think ee you can't name your form with the same name as the unit it is in, I don't know if the compiler has any problems with it but I would guess no since the first problem risen after the lazarus IDE was build.