Can't see warnings

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

Can't see warnings

492 次查看
davidsherman
Senior Contributor I

Very strange, I've noticed that I'm not seeing any warnings anymore in KDS 3.0.0.  I know there are warnings, the same code shows warnings on another machine, same KDS version.  I've tried cleaning, rebuilding, refreshing, trying other build configurations, opening a new problem view window, but nothing shows up.  Problem view window has "view all" enabled.  If I create an error, it will show warnings and errors for that line only.

0 项奖励
3 回复数

371 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello David,

Please check the "Code Analysis" , you can select showing which Warning and Error  :

pastedImage_1.png

Hope it helps


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励

371 次查看
davidsherman
Senior Contributor I

Thank you Alice, but they are already enabled.  Mine looks a little different though, I have radio buttons that say "use workspace settings" and "use project settings" and a button to control workspace settings.  If I click on the workspace settings, they are still enabled there.  As a test I tried using the other radio button for project settings, but it made no difference.pastedImage_1.png

0 项奖励

371 次查看
davidsherman
Senior Contributor I

Looking a little further and comparing it to a similar project in KDS 3.2, I see that 3.2 has all common warnings (-Wall) turned on by default under the "warnings" settings, whereas no warnings are explicitly enabled in 3.0.  If I turn on all warnings in 3.0 I see them now, although I see many new warnings that I had not seen before.  Perhaps there were some default warnings that were somehow disabled.  I think it may be a non-issue now, maybe we just need to enable warnings as necessary.

0 项奖励