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.

[参考译文] 编译器:使用编译器指令内联一次禁用

Guru**** 2563960 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/594144/compiler-inline-once-disabling-with-a-compiler-directive

工具/软件:TI C/C++编译器

你好  

我们正在使用C2000环境。 我需要有关内联指令的信息。 在代码编辑器的高级优化菜单中,“内联函数一旦激活,就会被调用,这样是否可能抑制此功能。 在我们的情况下,我们有一个只能直接调用一次的函数。 但调用函数被多次调用。 是否可以用指令压缩内联,或者如何处理编译器这种情况。

谢谢

转至