您的意思是更改文件扩展名吗?我们有合法使用C++语言的文件。我们有一些文件是从源建立的,所以将项目中的所有文件变为“.CPP”也不是解决方案。我们的项目中绝对没有理由不能混合C++和C代码。XC32编译器可以很好地构建和链接所有的东西。如果我们试图混合Java之类的东西,那可能是另一回事了。
以上来自于百度翻译
以下为原文
Do you mean change the file extension? We have files that are legitimately using the C++ language.
We have a few files that we're building from source, so changing all of the files in the project to ".cpp" wouldn't be the solution, either.
There should be absolutely no reason we can't mix C++ and C code in our project. The XC32 compiler can build and link everything just fine. If we were trying to mix in something like Java, that might be a different story.
您的意思是更改文件扩展名吗?我们有合法使用C++语言的文件。我们有一些文件是从源建立的,所以将项目中的所有文件变为“.CPP”也不是解决方案。我们的项目中绝对没有理由不能混合C++和C代码。XC32编译器可以很好地构建和链接所有的东西。如果我们试图混合Java之类的东西,那可能是另一回事了。
以上来自于百度翻译
以下为原文
Do you mean change the file extension? We have files that are legitimately using the C++ language.
We have a few files that we're building from source, so changing all of the files in the project to ".cpp" wouldn't be the solution, either.
There should be absolutely no reason we can't mix C++ and C code in our project. The XC32 compiler can build and link everything just fine. If we were trying to mix in something like Java, that might be a different story.
举报