i had this problem a while ago. turned out that it was something with the compiler settings in WED. fixed the problem by resetting the settings to default settings