KDS file extension issue

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

KDS file extension issue

990 次查看
AnangBohra
Contributor I

Yesterday I ran into a problem with source file extension in KDS 3.0. I accidentally named my source file to "xyz.C" and no matter what I did, the software would not compile and keep throwing errors.

After couple of hours of going backward and forward, I renamed the file to "xyz.c" and there you go, worked like a charm..

 

Has anyone come across similar issue?

Btw, I am windows 7, 64bit.

 

thanks.

标签 (1)
0 项奖励
回复
1 回复

930 次查看
BlackNight
NXP Employee
NXP Employee

Hi Anang,

*.C files are treated as C++ files in Eclipse. See https://mcuoneclipse.com/2016/05/05/assembly-files-in-eclipse-cdt-projects/  on a similar topic.

I hope this helps,

Erich