比较简单的测试代码,C编译可以通过,把文件.c改为.cpp后 main 提示改为int,修改成int后提示#337-D linkage specification is not allowed dspgps.cpp。中断入口函数interrupt void GPIO_input_isr()也提示报警,extern "C"没有任何改善。这是需要设置什么地方吗?是不是用不了C++方式。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.