Perhaps one enginieer from ad can give an answer.
Do I see this for the C compiler right, if I say, Visual DSP++ in the version 5.1.2 takes the common Misra-Rules into account automatically provided that I don't change this with compiler switches in the command line. Therefore the # pragma diag ()s are required in the header files?