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.
Hi,
I am using CCSv4.0.2 with cgtools 4.5.1. I get a warning in the code "function declared implicitly"
But with CCSv3.3 and cgtools 4.5.1, I donot get the above warning during the project build.
So what could be the reason, Are there some extra checks?? How do I disable this warning ?
Rgds,
Girish
My guess is in one place you have -pdr and in the other you don't. This is not a warning to ignore. It means a function doesn't have a prototype and the compiler has made some assumptions about the values you are passing/returning. That can quickly lead to a bug.
-Lori
Lori,
-pdr option is not enabled in both of them. Can you let me know what is the right option (diagnostics) which causes this warning??
Rgds,
Girish
Giresh,
I don't recommend removing this option. It has likely found a problem with your code that was being missed before.
John