MMIX LOGO

Compiler Warnings in MMIXware

Table of Content

Content

Some Compiler (e.g. GNU C Compiler with -Wall) issue warnings about
  • if-if-else constructs that could be clarified to be if-{if-else} constructs.
  • comparisons between signed and unsigned quantities
  • printf statements that do not have a literal format string.
  • size_t (e.g. the return type of strlen) is larger than int.
  • old style functions that use char and short parameters (because the arguments might be promoted to int types).
  • missing cases in switch statements.
  • unused labels.
These complaints are fixed by the following change files.

Please help to keep this site up to date! If you want to point out important material or projects that are not listed here, if you find errors or want to suggest improvements, please send email to email