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  
Hierarchy
Parent Page
    Page: Rec. 01. Preprocessor (PRE)
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 (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
SEI CERT C++ Coding Standard (2)     Page: VOID PRE01-CPP. Use parentheses within macros around parameter names
    Home page: SEI CERT C++ Coding Standard