30-01-2026, 01:32 PM
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'.
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
the MISRA C++ Working Group

