??? 08/24/09 08:17 Modified: 08/24/09 09:10 Read: times |
#168499 - I know ... but MISRA rules are explicit. Responding to: ???'s previous message |
Jan Waclawek said:
Goto as such is not a problem - its usage is the problem. We all know that. However, MISRA rules require that "goto shall not be used", and allows no exceptions (they also prohibt the use of "break;", but mercifully make an exception for switch/case). Better find another way to exit that quadruple-nested loop. ;) (Oddly enough, there's no MISRA rule about the allowed nesting depth of loops. Just don't nest comments, that's prohibited ;) ) |