Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

No other identifiers are reserved #1. The behavior of a program that declares or defines an identifier in a context in which it is reserved, or defines a reserved identifier as a macro name, is undefined . See also undefined behavior 100 of Annex J of C99. Trying to define a reserved identifier can result in its name conflicting with that used in implementation, which may or may not be detected at compile time.

Anchor
1
1
[1] Note that the POSIX ® standard extends the set of identifiers reserved by C99 to include an open-ended set of its own. See section 2.2 Compilation Environment in IEEE Std 1003.1-2008. Wiki Markup<ac:structured-macro ac:name="anchor" ac:schema-version="1" ac:macro-id="878b1a6b-b8f6-4ffe-ae12-d58af1b3715f"><ac:parameter ac:name="">1</ac:parameter></ac:structured-macro> \[1\] Note that the POSIX ^&#xAE;^ standard extends the set of identifiers reserved by C99 to include an open-ended set of its own. See section [2.2 Compilation Environment|http://www.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_02] in [IEEE Std 1003.1-2008|AA. Bibliography#IEEE Std 1003.1-2008].

Noncompliant Code Example (Header Guard)

...

Noncompliant Code Example (errno)

Wiki MarkupAccording \ [[ISO/IEC 9899-1999|AA. Bibliography#ISO/IEC 9899-1999]\], the behavior of a program is [undefined |BB. Definitions#undefined behavior] when

a macro definition of errno is suppressed in order to access an actual object, or the program defines an identifier with the name errno.

...

Tool

Version

Checker

Description

Section

LDRA tool suite

Include Page
c:LDRA_Vc:
LDRA_V

 

 

Section

Compass/ROSE

 

 

 

...