08-12-2017, 09:33 AM
The use of types such as int_fast8_t and int_least8_t violates Directive 4.6.
The amplification to directive 4.6 states:
The amplification to directive 4.6 states:
Quote: A type must not be defined with a specific length unless the implemented type is actually of that length.The use of types such as int_fast8_t and int_least8_t does not guarantee that the type is actually of 8-bits.
Posted by and on behalf of the MISRA C Working Group