Hello,
I'm trying to make a simple Objective-C++ applicaiton. All of my code is compiling fine, including the use of C++ in Objective-C classes, until I try and add a C++ class to the mix. I've created a simple C++ class:
Test.h
class Test {
};
and included this file in a Objective-C class (with a .mm extension) and I get the following build error:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Test'
Clearly I'm missing some simple concept here. I'd appreciate some enlightment.