The following is a list of the compiler switches already encountered with the addition of other useful switches and why you might want to use them:
Switch | Description |
-Wall | Turns on warnings for a wide variety of possible errors. |
-Werror | Turns all warnings into errors. |
-std=c11
-std=c18 |
Controls which C standard to use for compilation. |
-D <symbol> | Defines the <symbol> macro. |
... |