8.3.2.6 Warnings

  • -Wall

    Enables all the warnings about easily avoidable constructions that some users consider questionable, even in conjunction with macros.

  • -Werror

    Show warnings as errors.

  • -pedantic

    Ensures that programs do not use forbidden extensions and that warnings are issued when a program does not follow ISO C.

  • -w

    Inhibit all warning messages.