Tool/software: TI C/C++ Compiler
The compiler comes with MISRA C 2004 checks support. That MISRA revision doesn't support C99, for example.
Yet it seems if I include <stdint.h> then I do not get any warnings. Or is that header as provided , is fully MISRA compliant? I also do not seem to get any warnings if I set strict ANSI C89 (just to check) on this module, it still builds fine.
I see these in the stdint.h header:
#include <_ti_config.h> _TI_PROPRIETARY_PRAGMA("diag_push") _TI_PROPRIETARY_PRAGMA("CHECK_MISRA(\"-19.1\")") /* no code before #include */ _TI_PROPRIETARY_PRAGMA("CHECK_MISRA(\"-19.7\")") /* prefer functions to macros */ .....
Don't know what those proprietary macros mean, but is the provided stdint.h (and what it includes) fully MISRA compliant?