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.

[参考译文] 编译器/CODECOMPOSER:将 TI-POSIX 与 C++一起使用时、errno.h 包含错误

Guru**** 2563960 points


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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/778423/compiler-codecomposer-errno-h-included-error-when-using-ti-posix-with-c

器件型号:CODECOMPOSER

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

我想我偶然发现 了此处讨论 的问题、但对于 simplelink_msp432p4_SDK、

我在 Linux Ubuntu 18.04上使用 Code Composer Studio 版本:8.3.0.00009。

文件中 /simplelink_msp432p4_sdk_2_40_00_10/source/ti/posix/ccs/errno.h

我不得不改变:

#include <./include/errno.h //第72行

至:


#include_next

以便在 TI-RTOS / POSIX 支持下构建我的 C++项目。

谢谢

Peter

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    Peter、
    感谢您指出这一点。 我将根据最初的问题声明对此进行归档。

    谢谢、
    Chris