Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is Fn4 example in AUTOSAR rule A7-5-2 correct?
#2
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.
Posted by and on behalf of
the MISRA C++ Working Group
Reply


Messages In This Thread
RE: Is Fn4 example in AUTOSAR rule A7-5-2 correct? - by misra cpp - 03-07-2026, 12:02 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)