CODECOMPOSER: CODECOMPOSER: 20.3.0 Hangs on build doesn't display compiler errors.

Part Number: CODECOMPOSER

Tool/software:

I recently moved from CCS 20.0.1 to 20.3.0. I am working on a C++ project using ti-cgt-armllvm_4.0.3.LTS compiler (I tested with ti-cgt-armllvm_4.0.1.LTS and the issue is still there so it looks like it's an issue on the IDE and not the compiler). CCS is installed on windows 11. Device variant CC1352R1F3 core Cortex_M4_.

The issue is that there are no errors displayed when there should be an "error: no type named" when mistyping using the C++ scope operator.

If you hit rebuild it will display the following:

gmake: Target 'all' not remade because of errors.

However, no errors are displayed in the Output log or the Problems window. And when parallel compilation is on (which is on by default with no way to turn off other than editing the .cproject) you don't know what file even fails to compile.

If you do a subsequent build, the build just hangs forever and if you stop the build the GUI will not reenable the build/rebuild project options so you can't build unless you restart CCS to use the rebuild option to be accessible again.

This does not happen in CCS 20.0.1. I have not tested on a different version. EDIT: I have since installed CCS 20.2.0 and it does not have the issue.

Here is an example where the issue would occur:

FileHeader.Hpp

class ClassName
{
    public:


    typedef struct
    {
        uint32_t test;
    
    } TestStruct;
};

TestFile.Cpp

void TestFile::Function()
{
    ClassName::INCORRECT_NAME_Struct test;
}


CCS 20.0.1 displays this issue:
[9]../src/TestFile.cpp:27:54: error: no type named 'INCORRECT_NAME_Struct' in 'ClassName'


CCS 20.3.0 doesn't display any errors and hangs on rebuilds as described above.

  • Hello,

    This does not happen in CCS 20.0.1. I have not tested on a different version. EDIT: I have since installed CCS 20.2.0 and it does not have the issue.
    I recently moved from CCS 20.0.1 to 20.3.0. I am working on a C++ project using ti-cgt-armllvm_4.0.3.LTS compiler (I tested with ti-cgt-armllvm_4.0.1.LTS and the issue is still there so it looks like it's an issue on the IDE and not the compiler).

    Just to confirm, the the same version of the compiler (4.0.1) was used in all three CCS versions mentioned (20.0.1, 20.2.0, and 20.3.0) but the issue only occurs on 20.3.0?

    Thanks

    ki

  • HI Ki,

    Yes, the issue only occurs with CCS 20.3.0, I only tested a compiler other than the bundled one with CCS 20.3.0. I wanted to confirm it was the IDE and not a compiler issue.

    This are configs I tested:

    CCS 20.0.1 with ti-cgt-armllvm_4.0.1.LTS (Default Bundled Compiler): No issue

    CCS 20.2.0 with ti-cgt-armllvm_4.0.3.LTS (Default Bundled Compiler): No issue

    CCS 20.3.0 with ti-cgt-armllvm_4.0.3.LTS (Default Bundled Compiler): Issue Occurs

    CCS 20.3.0 with ti-cgt-armllvm_4.0.1.LTS: Issue Occurs

  • I can reproduce this issue. It appears specific to the CCS 20.3.0 IDE. When I build the same project using the headless project build command from the command-line, the issue does not occur.

    I filed a bug for this. Tracking link: https://sir.ext.ti.com/jira/browse/EXT_EP-12940

    Thanks

    ki