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.

CCSv5.1.0.07001 does not track changes to structs in included files

Guru 15580 points

CCS appears to be having trouble keeping track of changes to included files in a project. If I include a file that contains a struct, then change the struct, CCS does not see the change. I have attached a sample project that demonstrates this issue.

In the attached project I initially defined the struct in the project test_linked_resource called "linked_resource_t" to consist of "type" and "count". In another project ("test_linked_type") I included the header file from the first project (linked_resource.h). In the second project I assigned enums to linked_resource->count and type.

I then went back and changed the struct definition in the first project to include a third element, color. HOWEVER, color does not show up in the (not sure what you call it) pop-up suggestion box. Even after compiling, CCS does not find the correct enum value for the added struct element.

This seems like a bug. And it has me stopped cold in my development efforts. WORKAROUND NEEDED ASAP. Or tell me what I am doing wrong.

Thx,

MikeH

0245.test_linked_resource_project.zip