Error with internal Arduino files while uploading sketch

@anon16461537, your topic has been moved to a more suitable location on the forum. Installation and Troubleshooting is not for problems with your project. And project in this case includes programming mistakes :wink: See About the IDE 1.x category

In future, please post code properly using code tags. The simplest way

  1. In the IDE, use tools -> autoformat
  2. In the IDE, use edit -> copy for forum; this will copy to the clipboard.
  3. Paste the clipboard in a post

Just like @UKHeliBob, I'm curious what is weird about it and why you would think that it will be removed?

If you don't need setup(), you can override the main() function in your sketch; in it's absolute simplest form

void loop();

int main void()
{
  for(;;)
  {
    loop();
  }
}

void loop()
{
}