So, basically this it (I think I have solved it in the past somehow, but I canNOT remember HOW…) :
- I’ve got a – pretty much empty – Objective-C/Cocoa project
- Import some .c/.cpp files
- Get the following error
Unknown type name ‘class’; did you mean ‘Class’?
Any ideas on how to resolve this?
Just renamed my
.cppfiles to.mm. 🙂That did the trick!