How to disable warnings on specific directories?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How to disable warnings on specific directories?

跳至解决方案
2,295 次查看
jana
Contributor I

Hi,  I would like to enable additional warnings during compilation such as -Wundef on my project.  However, when I do that, I get warnings in the autogenerated and SDK code base.  Is there a way to disable warnings for certain directories?  I am using S32 Design Studio with the RTM 1.0 SDK for the MPC5748G platform.  Thanks.

0 项奖励
回复
1 解答
2,229 次查看
jiri_kral
NXP Employee
NXP Employee

Hi, 

right-click on directory you are interested in. settings -> warnings: 

pastedImage_1.png

Hope it helps. 

Jiri 

在原帖中查看解决方案

0 项奖励
回复
1 回复
2,230 次查看
jiri_kral
NXP Employee
NXP Employee

Hi, 

right-click on directory you are interested in. settings -> warnings: 

pastedImage_1.png

Hope it helps. 

Jiri 

0 项奖励
回复