Hi, The Keil MDK shows an error when I open a example project from nrfSDK. but there is no error when compile.
Could someone please clarify. Thank you .
Hi, The Keil MDK shows an error when I open a example project from nrfSDK. but there is no error when compile.
Could someone please clarify. Thank you .
Hi,
I have the same thing at my computer.
It seems that this is an issue with the code-completion feature in Keil. The code-completion option does some parsing of the file and it's included headers, and seem to miss this declaration somehow.
As you point out, there's no compiler-error, so it's safe to ignore.
Best regards Håkon
I've also gotten the same error since I ugpraded Keil a little while ago.
None of my code is anymore broken than normal, so also confirm it's more of a cosmetic issue ;)
-m
I agree. I was facing the same issue a few days ago until i realized that is was more for cosmetic reasons than syntactical.
Three years later and this problem is still there. :-(
I actually talked to Keil/ARM about this at a embedded conference. This is a restriction in their autocompletion tool, where it does not properly parse function implementations in header files. It shall not have any effect on your compilation, but it is annoying to see from a user-perspective.