I'm using Carbide vs, VS2003, SDK S603rd.
I want to compile all my sources with the C++ compiler, regardless what extension my files have.
I found in Carbide .vs install directory, /doc, C_Compilers_Reference_3.2.pdf , and it said in Capital "Using the C++ Compilers Always"(page 55) that we can force C++ compilation by enabling an option
"Force C++ Compilation" setting in the C/C++ Language Panel.
I cannot find this option :-( and what I understand with C/C++ Language Panel is in a Project >> right mouseclick Properties >> the section C/C++, am I right?
The ideas in http://discussion.forum.nokia.com/fo...highlight=lang cannot be used.
1. to change all the extension in .cpp will take a looong time, since I have about 800 files, which most ended with .h and .c.
2. to add the line "#pragma cplusplus on" manually in every files, where c++ compiler particulary needed is very complicated.
So basically there should be 2 ways to solve the problem:
1. Find the option "Using C++ Compiler always", but where exactly?
2. Add the line "#pragma cplusplus on" automatically in every files, how can it be done exactly?
Any helps would be very appreciated.