文章转载自: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,如下图所示:
原文:https://www.cnblogs.com/yeshenmeng/p/11002381.html