Re:Modern C
by saagarjha on Friday September 04, 2020 @12:23PM
(#24376359)
Not all the warnings, as many are not useful. But take -Wall -Wextra and see how that suits you and tweak it if necessary.
[ Parent
| on HN ]
I really wish compilers had a -Wstandard and that warned on standard breaking things vs -Wall or -Wextra which has compiler specific junk like -Wparentheses
Perhaps -Wpedantic is what you want?