If the µVision project file contains C++ files, the conversion of the µVision project will fail.
The reason for this is that in the generated *.csolution.yaml file, the misc: section has -C-CPP, which combines the compiler configurations for both C and C++ together. However, the presence of - std=c99 within it makes it unable to support C++.
To resolve this issue, you can split the - C-CPP in the misc: section into -C and -CPP. Additionally, within the -CPP section, include -std=c++11 to ensure proper support for CPP
If the µVision project file contains C++ files, the conversion of the µVision project will fail. The reason for this is that in the generated
*.csolution.yaml
file, themisc:
section has -C-CPP
, which combines the compiler configurations for both C and C++ together. However, the presence of- std=c99
within it makes it unable to support C++. To resolve this issue, you can split the- C-CPP
in themisc:
section into-C
and-CPP
. Additionally, within the-CPP
section, include-std=c++11
to ensure proper support for CPP