Re:Two musings on the design of compiler warnings
by saagarjha on Wednesday September 02, 2020 @05:23PM
(#24358314)
While perhaps satisfying, the issue is that this usually does little good in that the person you are directing this at will rarely change their ways in response.
Re:Two musings on the design of compiler warnings
by jart on Thursday September 03, 2020 @04:16AM
(#24361865)
So you change your ways I bet, to accommodate the stubborn cargo cultists who cause toil for you. Here's an alternative for you to consider. Say yes, I can absolutely support you, but if you believe that cc is an ada linter, then you can't use the project in 'preferred form' you have to link against the finished .so / .a binaries, and include the ANSI C89 preprocessed header file amalgamation, which will enable you to use whatever compiler flags you want, but you won't get the benefit of all the fancy macro optimizations and such.
Don't bend over backwards. Just laugh at them. Losers always whine about how dare you trigger muh unused parameter.