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.

c2000 - Warning - INLINE recursion limit exceeded

I made some changes to my project recently, and since then I am getting this warning :

"/sandbox/vladimir/temp/ccs/linux_install_dir/ccsv5/tools/compiler/c2000_6.1.0/include/vector", line 982: Warning - INLINE recursion limit exceeded.

I like to have a clean build, and would prefer to fix the warning, and the message is not informative enough.


1. So, what do I need to do to fix the warning?

2. What exactly does the warning mean? What is the inline recursion limit?


EDIT: I am using compiler C2000 version 6.1.1

  • Please see if this forum thread is helpful.  -George

  • Georgem said:

    Please see if this forum thread is helpful.  -George

    If I understand what is written there correctly, there are no ways to prevent it from happening. It is just the calls are not inlined after some inline depth. Right?

    But are there ways to identify the file and line number that is causing it?

    Also, is there a way to increase this depth? I got a good PC (very fast and lots of RAM), and don't really care if the compilation takes longer.

    btw the link you provided is for C6000. I guess the C2000 compiler is different from C6000 compiler.

  • Vladimir Jovic said:
    the link you provided is for C6000. I guess the C2000 compiler is different from C6000 compiler.

    With regard to this issue, there is no difference between the C2000 and C6000 compilers.  Thus discussion regarding the C6000 compiler is relevant.

    The main takeaway from that forum thread is that you cannot invoke the linker directly.  You have to invoke it through the compiler shell cl2000.  Something like ...

    % cl2000 --run_linker linker_options object_files

    Thanks and regards,

    -George