Can you tell me which hardware you trying to create a project for? Which is your Keil IDE and compiler version?