MISRA Discussion Forums

Full Version: what is the method of defining infinite loop according to MISRA C-2012 compalince
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
what is the method of defining infinite loop according to MISRA C-2012 compalince ?


Thank you.
The MISRA-C compliance does not define an approach.

However, there are two common methods: for ( ; ; ) and while ( true ) - both are permitted by exceptions to Rule 14.2 and Rule 14.3 respectively