We'd agree that Fn4 should not be marked as non-compliant, as it doesn't call itself (directly or indirectly).
Autosar C++:2014 has effectively been replaced by MISRA C++:2023. This has an equivalent rule 8.2.10 "Functions shall not call themselves, either directly or indirectly". It's examples do not have this problem.
Autosar C++:2014 has effectively been replaced by MISRA C++:2023. This has an equivalent rule 8.2.10 "Functions shall not call themselves, either directly or indirectly". It's examples do not have this problem.
Posted by and on behalf of
the MISRA C++ Working Group
the MISRA C++ Working Group

