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)
PRE01-C. Use parentheses within macros around parameter names
Page Information
Title:
PRE01-C. Use parentheses within macros around parameter names
Author:
Hal Burch
Aug 11, 2006
Last Changed by:
Jill Britton
Apr 20, 2023
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/CdcxBQ
Export As:
Word
·
PDF
Incoming Links
SEI CERT C Coding Standard (3)
Page:
PRE00-C. Prefer inline or static functions to function-like macros
Page:
PRE05-C. Understand macro replacement when concatenating tokens or performing stringification
Page:
PRE02-C. Macro replacement lists should be parenthesized
Hierarchy
Parent Page
Page:
Rec. 01. Preprocessor (PRE)
Labels
Global Labels (7)
ldra
rose-na-macros
android-applicable
exceptions
expressions
recommendation
pre
Recent Changes
Time
Editor
Apr 20, 2023 05:44
Jill Britton
View Changes
Apr 27, 2022 08:24
Jill Britton
View Changes
Jun 24, 2021 10:25
Svyatoslav Razmyslov
View Changes
Apr 23, 2021 08:39
Jill Britton
View Changes
Apr 21, 2021 04:52
Jill Britton
View Page History
Outgoing Links
External Links (8)
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/display/c/PVS-Studio
https://www.mathworks.com/help/bugfinder/ref/certcrec.pre01…
https://www.kb.cert.org/vulnotes/bymetric?searchview&qu…
https://wiki.sei.cmu.edu/confluence/display/c/Polyspace+Bug…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://pvs-studio.com/en/docs/warnings/v733/
SEI CERT C++ Coding Standard (2)
Page:
VOID PRE01-CPP. Use parentheses within macros around parameter names
Home page:
SEI CERT C++ Coding Standard
SEI CERT C Coding Standard (26)
Page:
PC-lint Plus_V
Page:
Helix QAC
Page:
PRE00-C. Prefer inline or static functions to function-like macros
Page:
BB. Definitions
Page:
LDRA_V
Page:
ECLAIR
Page:
Helix QAC_V
Page:
Polyspace Bug Finder_V
Page:
AA. Bibliography
Page:
Parasoft_V
Page:
PRE05-C. Understand macro replacement when concatenating tokens or performing stringification
Page:
Axivion Bauhaus Suite
Page:
Astrée_V
Page:
RuleChecker
Page:
PRE02-C. Macro replacement lists should be parenthesized
Home page:
SEI CERT C Coding Standard
Page:
Axivion Bauhaus Suite_V
Page:
RuleChecker_V
Page:
Klocwork_V
Page:
LDRA
Page:
ECLAIR_V
Page:
PVS-Studio_V
Page:
PC-lint Plus
Page:
Astrée
Page:
Klocwork
Page:
Parasoft
Overview
Content Tools
{"serverDuration": 99, "requestCorrelationId": "7038737492af141e"}