/* >>>------------------------------------------------------------ * * File: rule_3.5.c, Module: M2CM-3.2-QAC-8.1.2 * * RULE 3.5 (Required): * If it is being relied upon, the implementation-defined * behaviour and packing of bitfields shall be documented. * * Not enforced * * <<<------------------------------------------------------------ */ /********************************************************************* USE OF BITFIELDS It is not possible to enforce this documentation requirement in static analysis. This is because there is no general definition of what form such documentation should take - it will be different in most software development organisations. However to enforce this MISRA rule, organisations often restrict use of bitfields to specific modules which concentrate non-portable and platform specific code. Alternatively they may ban bitfields altogether. If bitfields are to be used, they shall be documented and QAC check 3621 can be used to locate the instances: 3621: Bit-fields are not portable - some old compilers do not even support them. This check can also be used when bitfields are to be banned completely. *********************************************************************/ /* PRQA S 1307,3120,3131 ++ */ #include "misra.h" #include "m2cmex.h" extern S16 test_0305( void ) { return 0; }