KDS file extension issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

KDS file extension issue

298 Views
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.

Labels (1)
0 Kudos
1 Reply

238 Views
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