Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
the definition of distinct
#1
Hello,

in the Rule 5.1, 5.2, 5.3, 5.4 and 5.5.

When portability is not our concern:

Can we use the implementation defined limits for the definition of distinct?

Best regards,
Takafumi Wakita
<t></t>
#2
The amplification for rule 5.1 etc: states that the identifiers be "distinct within the limits imposed by the implementation". Therefore the implementation defined limits for the definition of distinct can be used.

Directive 1.1 requires that reliance on such limits be documented. Exceeding the standard's minimum limits may effect portability.
Posted by and on behalf of the MISRA C Working Group


Forum Jump:


Users browsing this thread: 1 Guest(s)