News for hackers. Stuff that matters.
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.
Re:Modern C by nwmcsween on Saturday September 05, 2020 @02:35AM (#24381770)
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
Re:Modern C by saagarjha on Saturday September 05, 2020 @02:48AM (#24381808)
Perhaps -Wpedantic is what you want?
Re:Modern C by nwmcsween on Sunday September 06, 2020 @03:43AM (#24389746)
No, I basically want a W switch to warn only on potential buggy code (implicit-int, etc)