简体   繁体   English

如何抑制IAR EW 8.1中的Pe070错误?

[英]How to suppress Pe070 error in IAR EW 8.1?

I have to upgrade an IAR EW project from V 7.80.2 to V 8.10.1 . 我必须将IAR EW项目从V 7.80.2升级到V 8.10.1

My project worked without any warnings or errors in version 7.8. 我的项目在7.8版中运行时没有任何警告或错误。 When I try to build exact the same project in version 8.1 I get the following errors (Pe070 / Pe065 / Pe020) These errors appear in my RTOS sources (SEGGER / emBos), so I'm not able to fix them right now. 当我尝试在版本8.1中构建完全相同的项目时,出现以下错误(Pe070 / Pe065 / Pe020)这些错误出现在我的RTOS源文件(SEGGER / emBos)中,所以我现在无法修复它们。

My idea is to suppress these errors until IAR or my RTOS supplier has fixed theses errors. 我的想法是抑制这些错误,直到IAR或我的RTOS供应商修复了这些错误。 I tried it like this: 我这样尝试过:

How to suppress warning (converted from error) in IAR EWARM 5.4 如何在IAR EWARM 5.4中禁止警告(从错误转换)

在此处输入图片说明

But it doens't work, the errors still occur. 但是它不起作用,错误仍然会发生。

It is not all errors that can be suppressed using --diag_warning or --diag_suppress. 使用--diag_warning或--diag_suppress并不能消除所有错误。 If the error is to severe the suppress option will be silently ignored by the compiler. 如果错误严重,则编译器将默默地忽略抑制选项。 Unfortunately there is no way to see which errors can be ignored an which can't. 不幸的是,没有办法看到哪些错误可以忽略,哪些不能忽略。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM