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.

[参考译文] TDA4VM:C99 for (int... 语法

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1014785/tda4vm-c7x-support-of-c99-for-int-syntax

器件型号:TDA4VM

您好!

当在我的 C7x C 代码中使用 C99语法时、类似于

for (int i;.

使用 C7x 编译器时会出现编译器错误。

在之前声明 int i (C90样式)将起作用。

是否需要这样做、是否可以确认不支持此语法?

或者是否有任何解决方法来启用此功能(如设置 -std=c99)?

此致、

帮助

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

    您好、 Aid、

    很抱歉、对于此主题帖没有活动、您是否仍需要此主题的帮助、或者此问题是否已在您的结尾得到解决?

    此致

    Karan