Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dir 4.6 and usage of "fast" types in stdint.h
#2
The use of types such as int_fast8_t and int_least8_t violates Directive 4.6.

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
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)