I'm getting some really weird errors and warnings in live syntax check (I'm using Keil 4.72a). The most annoying is "pragma once in main file" on every single one of my "#pragma once" though I'm using them correctly and in headers only.
The next one is "error in include chain - declaration of 'atexit' has different language linkage" on simple #include <stdlib.h>. Weirdly, only the letter 'b' in 'stdlib.h' is underlined. Every headers which include stdlib.h are underlined too (and again, only some part of the filename is underlined).
Weirdly enough, these errors do not affect compilation at all, they are not shown in the build output, but they are a bit annoying and clutter the code.
Is there any way to get rid of them?