Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Standard

Document

CERT C++

DCL30-CPP. Declare objects with appropriate storage durations

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1f382d04-0fb1-4fa8-ba3d-26b97993e2c4"><ac:plain-text-body><![CDATA[

[[ISO/IEC PDTR 24772

AA. C References#ISO/IEC PDTR 24772]]

"DCM Dangling references to stack frames"

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b6a56c3b-4411-490d-b6ca-c859640b96b6"><ac:plain-text-body><![CDATA[

[[MISRA 04

AA. C References#MISRA 04]]

Rule 8.6

]]></ac:plain-text-body></ac:structured-macro>

Bibliography

Wiki Markup
\[[Coverity 07|AA. C References#Coverity 07]\]
\[[ISO/IEC 9899:1999|AA. C References#ISO/IEC 9899-1999]\] Section 6.2.4, "Storage durations of objects," and Section 7.20.3, "Memory management functions"
\[[ISO/IEC PDTR 24772|AA. C References#ISO/IEC PDTR 24772]\] "DCM Dangling references to stack frames"
\[[MISRA 04|AA. C References#MISRA 04]\] Rule 8.6

...

DCL16-C. Use 'L', not 'l', to indicate a long value      02. Declarations and Initialization (DCL)