This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Keil fake error __STATIC_INLINE

My project is compiling and working, but there is this very annoying issue when Keil thinks there is a problem with __STATIC_INLINE in the file cmsis_armcc.h. It indicates an error throughout the include chain and it makes its way up to the top main function (when including nrf.h). This makes almost every file I use having one red cross in it indicating an error. When hunting for real bugs, this becomes very annoying and distracting.

So far I tried to put compiler definition into Project Options, but that didnt help. Is there anything I can do about this?

I am using Keil v5.16a and SDK v9.0.0

Related