AppController.mm Semantic issues Xcode 4.2

I’m getting two warnings every time I build my project in Xcode:

Enumeration values 'kScreenOrientationUnknown', 'autorotation', and 'kScreenOrientationCount' not handled in switch
Incompatible pointer types passing 'UIView *' to parameter of type 'EAGLView *'

What should I change/replace in AppController.mm to remove these?

Awww, c’mon. Nobody else getting this???

I had a similar sort of problem a while back. I deleted my build folder and did a fresh build. That was enough to sort my issue.