目前的代码中使用了GCC的内建函数__builtin_clz()和__builtin_popcount(),在CCS中编译不能通过,请问,CCS是否有库支持这两个函数,多谢!
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.
目前的代码中使用了GCC的内建函数__builtin_clz()和__builtin_popcount(),在CCS中编译不能通过,请问,CCS是否有库支持这两个函数,多谢!
可以试一下打开编译器的GCC编译支持选项,具体位置见下图: