17 lines
436 B
Plaintext
17 lines
436 B
Plaintext
== Why is this an issue?
|
|
|
|
Where the developer uses new versions of standard library macros or objects (e.g. to enhance functionality or add checks of input values), the modified macro or object shall have a new name.
|
|
|
|
|
|
This is to avoid any confusion as to whether a standard macro or object, or a modified version of them, is being used.
|
|
|
|
|
|
=== Noncompliant code example
|
|
|
|
[source,text]
|
|
----
|
|
#define NULL ( a > b ) // Noncompliant
|
|
----
|
|
|
|
|