I have some functions with extensive parameter checking where obeying misra rule 14.7 (single exit point) would result in unwieldy, difficult to follow code with a huge number of indentations.
I try to turn off this check using "#pragma CHECK_MISRA("-14.7")" but the error is still reported (but only at the first instance of a return statement.
compiler ARM v5.0.1