I am usin Kicad with a pin connected directly to the same global net. When I run ERC I get global label not connected to any other global label.
Opening the net file I see
I wonder if Roaming_Ranger is still here after 5 years. Not speaking about the KiCad version from 2015 (probably pre-4) which has been obsolete for 5 years.
You can also give more details about your situation, you can even zip and drag your project here and we can look into it.
(EDIT: as a newcomer you can’t attach files yet; spend some time reading some topics and you’ll get the priviledges. And when asking a question, always give KiCad version information.)