Using current modules tip, I get strange "Expected a class or namespace" errors after I open and existing introjucer project using the introjucer, add a new CPP and H file and then save the project. The errors are all related to enums. I get the errors on lines such as this . .
Desktop::getInstance().setOrientationsEnabled( Desktop::DisplayOrientation::upright | Desktop::DisplayOrientation::upsideDown );
or this . . .
The build worked fine before I added the new source files. The build is also fine if I manually add the new source files using XCode. What am I doing wrong?