![]() |
the definition of distinct - Printable Version +- MISRA Discussion Forums (https://forum.misra.org.uk) +-- Forum: MISRA C (https://forum.misra.org.uk/forumdisplay.php?fid=4) +--- Forum: MISRA C:2012 and MISRA C:2023 guidelines (https://forum.misra.org.uk/forumdisplay.php?fid=21) +---- Forum: 8.5 Identifers (https://forum.misra.org.uk/forumdisplay.php?fid=160) +---- Thread: the definition of distinct (/showthread.php?tid=996) |
the definition of distinct - Takafumi Wakita - 18-11-2013 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 Re: the definition of distinct - misra-c - 12-12-2013 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. |