Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Deviation from rule 1.1 in mc2_types.h?
#1
mc2_types.h states:

typedef signed long int64_t;
/* ... */
typedef unsigned long uint64_t;
/* ... */
typedef long double float128_t;

Violate these three types Rule 1.1 (C90 - compliance)?
Reply
#2
These examples are compliant with C90, but would only be available on some systems. 64 bit integer types and 128 bit floating types are available on some systems. The file mc2_types.h file may need to be modified to suit your machine, but will have additional side-effects.
Posted by and on behalf of the MISRA C Working Group
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)