文章转载自:http://www.51hei.com/bbs/dpj-29515-1.html

有时候我们需要在MDK中忽略掉某一个具体的warnning,怎么做呢?
只需在Misc Control中添加  “--diag_suppress=<num>” 就可以了, num就是Keil中的警告代码,,比如在工程中需要忽略..\..\..\..\src\drivers\gpio\gpio.h(169): warning:  #61-D: integer operation result is out of range 这个警告,只需添加  --diag_suppress=61,如下图所示:

在MDK 中忽略(suppress) 某一个警告

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-03
  • 2021-10-12
  • 2022-12-23
  • 2021-09-18
猜你喜欢
  • 2022-12-23
  • 2022-01-05
  • 2021-12-11
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案