I have a .cpp file in my project. I was expecting it to be compiled using C++. It isn't. How do I tell CW that it's a C++ file?
G
Hello gloucks,
You can select your CPP file and right click -> Properties -> "ARM Compiler" -> "Language" -> check "Force C++ Compilation"
Stanish
And apparently C++ isn't supported in the free-as-in-beer-and-code-size-limited editions, if that's what you have.
<rant> I once had the C++ compiler downgrade itself transparently to a C compiler because my network connection (with the license server behind it) was down, which resulted in hundreds of "Syntax error"s in header files clogging my problem view. </rant>
Is this true? I've been trying to get it to work for hours now. I have codewarrior free 10.1 and when I try to make a class and compile it, I get the message "unidentified identifier 'class'"
C++ support is available only in the Professional version of the tools. See this fact sheet for the details.
---Tom
Does the 30 Day eval version support c++?
Still, I wish the compiler error message said as much.