Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Does rule A2-10-5 apply to reusing an external identifier as a member identifier?
#2
We agree that the wording of this rule is unclear.

However, your forum post example doesn't contain any function declared 'static', so the rule does not apply.

More generally, it was felt this rule was too restrictive and so was not included in the ruleset for MISRA C++:2023
Posted by and on behalf of
the MISRA C++ Working Group
Reply


Messages In This Thread
RE: Does rule A2-10-5 apply to reusing an external identifier as a member identifier? - by misra cpp - 10-07-2026, 03:10 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)