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: why always show up "Optimization Advice"?

Tool/software: TI C/C++ Compiler

Dear all,

           I am using CCS6.2 to build my project. I had select the --opt_level = 3.  But the Optimization Advice message still shows up.

           the message:

           Current optimization/debug settings: --opt_level=off -opt_for_speed=2

           Detecting compilation without optimization. Recommend setting --opt_level=3

 

           But I had selected the --opt_level = 3, why?

           Is it not working?

            

          

  • I am unable to reproduce this behavior.  Please zip up your project and attach it to your next post.  Further details on this process are in the wiki article Project Sharing.

    Thanks and regards,

    -George

  • I am using a free license. Does it matter?
    I can not zip up my project. Because my project has been encoded.
  • Edwin.Liu said:
    I am using a free license. Does it matter?

    No.

    Edwin.Liu said:
    I can not zip up my project. Because my project has been encoded.

    I'm not sure what you mean.  I have never heard of a CCS project being "encoded".  

    Without a test case that allows me to reproduce the behavior, I am unable to explain how it happened, or otherwise help you.

    Thanks and regards,

    -George