You actually read the warning messages and try to fix them right anon?Yes, even in C. Especially in C. I've never gotten a segfault in C when treating warnings as errors.
Meanwhile in java land you ingore the warnings *and* the errors and hope it compiles somehow anyway
>>106450977Yes, warnings make the PR icon orange which is bad. I fix the formatting too for the same reasons. I do this for nightly tests and lints too, for the same reason.
>>106450977Of course, it's best practice.You can have warnings happen during development, but release should never have warnings.
>>106451058>>106453503Racial status confirmed, white>>106452748Asian
>>106450977-Wall -Wpedantic my beloved
>>106450977Occasionally I run into situations where a style warning is just legitimately the behavior I need (a function that accepts but never uses an argument because it's going to end up passed as a function pointer and needs to match the expected form, for example), but otherwise yeah.
>>106450977Absolutely.Sure, if it's like, an unused variable, that might happen durring some phases of development, but actual warnings? They're at least worth looking into.