From #46, enable more compiler warnings -Wall -Wextra to catch some of the more subtle potential errors (mixed signs, type issues); essentially treat warnings like errors.
Note -pedantic is too much and highlights many gcc specific features that are not ISO. In particular "address of a label" which is required (Clang supports it).
From #46, enable more compiler warnings
-Wall -Wextra
to catch some of the more subtle potential errors (mixed signs, type issues); essentially treat warnings like errors.Note
-pedantic
is too much and highlights manygcc
specific features that are not ISO. In particular "address of a label" which is required (Clang supports it).