Converting to C++
The proper way to convert a C project to C++ is to use option 1) above; however, i’m not sure example programs were generated correctly to support automatic conversion and you may have to correct C++-related project settings.
You must at least check that the C++ compile build settings (in project >> Properties >> C/C++ Build >> Settings) are coherent with those from the C Compiler (mainly symbol definitions, include files and libraries).
Bernard