Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

DCL02-C implicitly assumes 'Global Scope' which can be confused with 'Scope within the same file'. Though it may not generate any errors, but there may be a possible violation of the rule as in the example below. Note the example below does not violate DCL32-C. Gurantee that Mutually visible identifiers are unique.

Code Block
bgColor#FFcccc
In file foo.h :: int id_O; // (captial letter O)
In file bar.h :: int id_0; // (numeric letter zero)

...