How to generate a text file of all the compiler warnings?

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

How to generate a text file of all the compiler warnings?

跳至解决方案
1,282 次查看
sep2kor
Contributor III

Hi..

 

I want to know...how to genrate a text file of all the compiler warning shown by CodeWarrior?

 

I am using CodeWarrior IDE version 5.9.0.

标签 (1)
标记 (1)
0 项奖励
1 解答
743 次查看
kef
Specialist I

1) In Errors 7 Warnings window click on any message

2) Press on keyboard Ctrl C. This will copy all unfiltered messages to clipboard.

3) Open txt file in text editor and press Ctrl V to paste messages to text editor.

在原帖中查看解决方案

0 项奖励
4 回复数
744 次查看
kef
Specialist I

1) In Errors 7 Warnings window click on any message

2) Press on keyboard Ctrl C. This will copy all unfiltered messages to clipboard.

3) Open txt file in text editor and press Ctrl V to paste messages to text editor.

0 项奖励
743 次查看
Emac
Contributor III

I have found the above method to be the only one that works.

 

There are compiler options that are "supposed to" print out the errors and warnings to an output file but (hint hint FREESCALE, if you are listenting) they don't work.

 

Does anyone know if FREESCALE has a bugzilla like reporting system?

0 项奖励
743 次查看
CrasyCat
Specialist III

Hello

 

I did some test locally with CodeWarrior for HC12 V5.1.

 

Adding following lines to my Compiler Command line makes CodeWarrior generate a file main.err when compiling file main.c:

 

   -Env"ERRORFILE=%f.err" -WOutFileOn

 

The .err file is created in the same directory as the source file.

 

CrasyCat

743 次查看
kef
Specialist I

I don't know what bugzilla is, but what about submitting service request?

 

https://www.freescale.com/webapp/servicerequest.create_SR.framework

 

 

Though, I think IDE 5.9 is going to be abandoned :smileysad:. Bad to ones who like it, goot for those who want Eclipse.

0 项奖励