3.5.1.2 Changing Message Types
It is also possible to change the type (and hence behavior) of some messages.
Warnings can be turned into errors by using the -Werror
option. Errors
can be turned into fatal errors by using the -Wfatal-errors
option.