I am using WinAvr by creating projects and writing code with out any problems. Yesturday I created a new project and wrote some code and tried to compile and I got errors such as UDR not declared etc. (i am using serial port). If I close this project and open an existing one and compile there are no errors reported! but any new project is throwinng up errors. What could have gone wrong? Any help will be highly appreciated. Thank you.