This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler Not Called for CLA File When Filename Body Matches CPU File



Hello,

I have two files called:

a) DAB_ControllerCLA1_swc.c

b) DAB_ControllerCLA1_swc.cla

When I right click on 'DAB_ControllerCLA1_swc.cla' and select 'Build Selected File(s)', the compiler is called for file a) not file b).

"C:\\ti\\ccs1110\\ccs\\utils\\bin\\gmake" -k -j 12 DAB_Appl/DAB_ControllerCLA1_swc.obj -O 
 
Building file: "../DAB_Appl/DAB_ControllerCLA1_swc.c"
Invoking: C2000 Compiler
"C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000"
 -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0
 --vcu_support=vcu2 -O3 --opt_for_speed=5 --fp_mode=relaxed
 --include_path="C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include"
:
:
 --obj_directory="DAB_Appl"  "../DAB_Appl/DAB_ControllerCLA1_swc.c"
"../DAB_Appl/DAB_ControllerCLA1_swc.c", line 899: warning #770-D: conversion from pointer to smaller integer
Finished building: "../DAB_Appl/DAB_ControllerCLA1_swc.c"

Furthermore for 'Build Project' the compiler is never called for the the CLA file.

It seems the problem occurs when the CLA file shares the same filename body as the CPU file. I guess the problem might be because the compiler output file would be the same (DAB_ControllerCLA1_swc.obj) in both cases.