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.

[参考译文] AWR2944P:已定义#ERROR NULL_ptr

Guru**** 2455360 points


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

https://e2e.ti.com/support/sensors-group/sensors/f/sensors-forum/1509969/awr2944p-error-null_ptr-already-defined

器件型号:AWR2944P

工具/软件:

MCAL REL_02.02.05.00

 集成 WDG 模块时、发生以下编译错误

错误:
已定义 Null_ptr
178 |已定义#ERROR NULL_ptr

原因:根据 autosar  、应该在 Base plugin 中定义 NULL_ptr、因此我们收到已定义 NULL_ptr 的错误。

解决方法:已从 mcal-02_05_00\mcal\include\hw\hal_stdtypes.h 中删除 NULL_ptr

您可以验证一下。

BR、

Prashant Singh Tomar  

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

    您好 Prashant、

    这看起来像一个有效的错误,让我提出同样的错误请求。

    此致、
    Saswat Kumar