> I guess you also need a way to suppress spurious warnings.
man gcc
...
You can request many specific warnings with options beginning -W, for
example -Wimplicit to request warnings on implicit declarations. Each
of these specific warning options also has a negative form beginning
-Wno- to turn off warnings; for example, -Wno-implicit. This manual
lists only one of the two forms, whichever is not the default. For
further, language-specific options also refer to C++ Dialect Options
and Objective-C and Objective-C++ Dialect Options.
> And C compilers normally don't warn you about follies, like using global mutable state.
I mean no great disrespect, but if you need a machine to remind you not to use global mutable state, get back in the oven, you're still a bit gooey on the inside.
I mean no great disrespect, but if you need a machine to remind you not to use global mutable state, get back in the oven, you're still a bit gooey on the inside.