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.

Compile errors don't show up in project for linked files?

Guru 15580 points

Gents,

Is it my imagination, or do compile errors not show up in my currently active project for linked files? But the errors *do* show up in the project of the original linked file location. Seems rather bazaar to get a compile error message in my console window but "zero" errors listed in the "problems" window. Do I have something mis-configured?

Thx,

MikeH

  • Are these plain CCS projects or RTSC projects where you see this issue? Could you take a look at this other post which discusses a similar issue and check if it sounds similar to your situation? The bug filed for that was SDSCM00039161 so you can look at the description of the bug using the SDOWP link in my signature. The bug is marked as fixed in CCS 5.1.

  • Aarti,

    These are RTSC projects. The symptoms sound similar to what I am seeing, but not exactly the same. Perhaps I have a fundamental misunderstanding of "Linked" files. It is my understanding that if I "link" files from another project, they show up in my current project and can be compiled together with other non-linked files in my current project.

    What I don't understand is, if I edit the linked file in my current project, shouldn't the edit be "pushed" back to the original file? This is not happening in my project.

    What's even more strange is, if I look at the properties of the linked file, it shows a path to the original location. However, the two files are NOT the same!

    An you enlighten me on the proper bahavior of edited linked files?

    Thx,

    MikeH

     

  • MikeH said:

    What I don't understand is, if I edit the linked file in my current project, shouldn't the edit be "pushed" back to the original file?

    That is exactly what should be happening. Edits to the linked file, either from within the project that links it, or from the original location, should be reflected in the other location as well. Which version of CCS are you using?

    Are you able to provide a project that can be used to duplicate this behavior? If you can, I suggest exporting your project so it zips up all the source files (including linked files) as described here: http://processors.wiki.ti.com/index.php/Project_Sharing

     

  • Aarti,

    Please dis-regard my comments above regarding the files being different in the linked vs non-linked projects. I pulled a rookie move by "backing up" my entire workspace by copying it to a new workspace. "Copying" of course copies the link to the old file location.................:) DUH!

    However, the symptoms as reported in the bug fix do match what I am seeing regarding compile errors. I will use the workaround until the fixed code is available.

    Thx,

    MikeH