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/TMS320F28388D: Intrinsic functions call error

Part Number: TMS320F28388D

Tool/software: TI C/C++ Compiler

Hi,

It's been several month that I'm working on a CCS project and everything went well but suddenly, the compiler stopped recognizing the functions like __sinpuf32 or __fmax.

Here are the errors I get:

Here are the settings I use for the project:

Also, I am on Ubuntu 18.04.

Do you have an Idea of what is happening ?

Best,

Natan

  • Also, the errors are appearing only when a file containing intrinsic function calls is open.
    If I close the project, re-open it and do not open any file containing intrinsic function calls, I am able to build the project.

    Very strange.

  • I'd like to see the build logs from when the build works, and when it fails.  

    Please put things in a state where the build works.  Right click on the name of the project and select Rebuild Project.  In the Console (not Problems) view, use the icon Copy Build Log to save the contents of that view to a text file.  Please name the file works.txt.  

    Then put things in a state where the build fails.  Repeat the same process, but name the file fails.txt.  Attach both files to your next post.

    Thanks and regards,

    -George

  • Natan Vachon said:
    It's been several month that I'm working on a CCS project and everything went well but suddenly, the compiler stopped recognizing the functions like __sinpuf32 or __fmax.

    Those errors are coming from the built-in Eclipse static code analysis tool rather than the compiler, so there is no issue with your code itself. See Compiler/DRV8889-Q1EVM: Error: Function '__bis_SR_register' could not be resolved. Function '_nop' could not be resolved

  • Hi Chester, thanks for your answer.

    Yes it seems to be the right problem. However I am not able to find the "C/C++ general" tab to do the advised fix in CCS v10.

    Is it normal ? Also deleting the errors, refreshing and reopen the source file doesn't work.

  • Thank you for sending the build log files.  They confirm that these diagnostics do not come from the compiler, but from the code analysis feature built in to CCS.  

    Natan Vachon said:
    I am not able to find the "C/C++ general" tab to do the advised fix in CCS v10.

    When you bring up the project properties, if the in the lower left corner you see Show advanced settings, click on it.  Then the entry C/C++ General appears.

    Thanks and regards,

    -George