2082068_en-US

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

2082068_en-US

2082068_en-US

How to suppress a specific compiler warning message CW 11.1

Hi, I'm using CW 11.1 because my processor is MC9S08DZ60A. I am porting some code from another compiler. I would like to suppress compiler warning C1420, return value ignored, because it flags every printf. I found a screen that looks likely, but I put C1420 in there, and also tried just 1420, and the warnings still come up. See attached screenshot.

Is there a way to stop a specific warning message number, or a list of them?

Thanks,

Lloyd

Re: How to suppress a specific compiler warning message CW 11.1

Thank you so much! That worked! Then I added more on the same line like this:

-WmsgSd1420 -WmsgSd2705

I appreciate the help!

Lloyd

Re: How to suppress a specific compiler warning message CW 11.1

Hi @lslonim 

Please add  -WmsgSd1420 to compiler setting to disable C1420

ZhangJennie_1-1744860548332.png



Thanks,

Jun Zhang

タグ(1)
評価なし
バージョン履歴
最終更新日:
‎11-21-2025 09:29 PM
更新者: