typedefs that indicate size and signedness
should be used in place of the basic numerical types
typedefs that indicate size and
signedness should be used in place of the basic numerical types.
When the amount of memory being allocated is important, using specific-length types makes it clear how much storage is being reserved for each object.
The rule checker flags use of basic data types in variable or function
declarations and definitions. The rule enforces use of typedefs
instead.
The rule checker does not flag the use of basic types in the typedef
statements themselves.
If you expect a rule violation but do not see it, refer to the documentation of Polyspace® Code Prover™ or Polyspace Code Prover Server™.
| Group: Code design |
| Category: Advisory |
| AGC Category: Advisory |