Skip to main content
assistive.skiplink.to.breadcrumbs
assistive.skiplink.to.header.menu
assistive.skiplink.to.action.menu
assistive.skiplink.to.quick.search
Log in
Confluence
Spaces
Hit enter to search
Help
Online Help
Keyboard Shortcuts
Feed Builder
What’s new
Available Gadgets
About Confluence
Log in
SEI CERT C Coding Standard
Pages
Boards
Space shortcuts
Dashboard
Secure Coding Home
Android
C
C++
Java
Perl
Page tree
Browse pages
Configure
Space tools
View Page
A
t
tachments (0)
Page History
Page Information
View in Hierarchy
View Source
Export to PDF
Export to Word
Pages
…
SEI CERT C Coding Standard
3 Recommendations
Rec. 01. Preprocessor (PRE)
PRE11-C. Do not conclude macro definitions with a semicolon
Page Information
Title:
PRE11-C. Do not conclude macro definitions with a semicolon
Author:
Ruchi Lohani
Nov 03, 2008
Last Changed by:
Jill Britton
Apr 20, 2023
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/idYxBQ
Export As:
Word
·
PDF
Incoming Links
SEI CERT C Coding Standard (1)
Page:
EXP19-C. Use braces for the body of an if, for, or while statement
Hierarchy
Parent Page
Page:
Rec. 01. Preprocessor (PRE)
Labels
Global Labels (5)
rose-na-macros
review
android-applicable
recommendation
pre
Recent Changes
Time
Editor
Apr 20, 2023 06:24
Jill Britton
View Changes
Apr 23, 2021 08:45
Jill Britton
View Changes
Apr 21, 2021 04:58
Jill Britton
View Changes
Apr 20, 2021 06:20
Jill Britton
View Changes
Feb 28, 2021 15:00
Kris Kafka
Added PC-lint Plus to Automated Detection Table
View Page History
Outgoing Links
External Links (5)
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://www.kb.cert.org/vulnotes/bymetric?searchview&query=…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://www.mathworks.com/help/bugfinder/ref/certcrec.pre11…
SEI CERT C++ Coding Standard (2)
Page:
VOID PRE11-CPP. Do not conclude macro definitions with a semicolon
Home page:
SEI CERT C++ Coding Standard
SEI CERT C Coding Standard (21)
Page:
BB. Definitions
Page:
Polyspace Bug Finder
Page:
Helix QAC_V
Page:
PRE10-C. Wrap multistatement macros in a do-while loop
Page:
PRE00-C. Prefer inline or static functions to function-like macros
Page:
Helix QAC
Page:
PC-lint Plus_V
Page:
Astrée
Page:
Axivion Bauhaus Suite_V
Page:
Polyspace Bug Finder_V
Page:
CodeSonar_V
Page:
CodeSonar
Page:
LDRA_V
Page:
EXP19-C. Use braces for the body of an if, for, or while statement
Page:
LDRA
Page:
PC-lint Plus
Home page:
SEI CERT C Coding Standard
Page:
Astrée_V
Page:
Axivion Bauhaus Suite
Page:
RuleChecker
Page:
RuleChecker_V
Overview
Content Tools
{"serverDuration": 76, "requestCorrelationId": "dba993a9c91f1ab7"}