Versions Compared

Key

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

...

Assuming your compiler implements the minimum requirements for signficant characters required by the standard, the following example is examples are non-compliant:

Code Block

extern int global_symbol_definition_lookup_table_a[100];
extern int global_symbol_definition_lookup_table_b[100];

The external indentifiers in this example are not unique because the first 31 characters are identical.

Code Block
extern int \U00010401\U00010401\U00010401\U00010401[100];
extern int \U00010401\U00010401\U00010401\U00010402[100];

...

In the compliant solution, the signficant characters in each identifier vary.

Code Block

extern int a_global_symbol_definition_lookup_table[100];
extern int b_global_symbol_definition_lookup_table[100];
Code Block
extern int \U00010401\U00010401\U00010401\U00010401[100];
extern int \U00010402\U00010401\U00010401\U00010401[100];

...