I'm using uV 184.108.40.206, compiler version is 5.03.0.24.
Is there a way to disable specific warnings? In other Keil
toolchains I seem to remember there was a command-line control that
allowed this. I can't seem to find a similar control in this ( ARM )
compiler, rather all I can find in the manual is the -W which
disables all warnings. Am I missing something ?
I use the
#pragma diag_suppress 265
in one module.
It worked nicely until uVision 4.5. But since 4.6 it unfortunately
did not work any more (it does neither work in 4.7).
So I had to add "--diag_suppress 265" to the "Misc controls" in
the "C/C++" page of the compile settings for this module. This works
then, but the "pragma diag_suppress..." would be nicer for my
application (as I need it only for a table with references to my
struct/class addresses for communication access - this is a VERY
local and small part of my code).
thank you. I am working on uVision 5.24 and it works again
In case anyone still wonders, I use "#pragma diag_suppress 1299" to suppress the warning about declaring and initializing in different orders. but only in one specific file