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.

[参考译文] TMS570LS3137:Halcogen 是否生成纯 C 代码?

Guru**** 2760705 points

Other Parts Discussed in Thread: HALCOGEN

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/837418/tms570ls3137-does-halcogen-generate-pure-c-code

器件型号:TMS570LS3137
主题中讨论的其他器件:HALCOGEN

您好!

由于 ARM 编译器也可以接受 C++代码、我想知道 Halcogen (除了.asm 文件)之外的代码是纯用 C 语言编写的、还是包含一些 C++代码(函数、数据类型等)。 如果是、如何正确识别添加的 C++代码?

谢谢。

此致。

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

    您好!

    从 HALCoGen 生成的代码是纯 C 语言代码(遵循 MISRA-C 编码指南)。

    不存在 C++代码。

    此致、

    Akshay