Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rule 6.7.1 and local declarations with external linkage
#2
We agree with your analysis - the rule applies to this declaration and is non-compliant (and is also non-compliant with 6.7.2).

This wasn't our intension.

We are looking at a revision along the lines of 'all local declarations should have automatic or thread_local storage duration'.
Posted by and on behalf of
the MISRA C++ Working Group
Reply


Messages In This Thread
RE: Rule 6.7.1 and local declarations with external linkage - by misra cpp - 30-01-2026, 01:32 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)