News for hackers. Stuff that matters.
Re:GCC 6 Will Warn You About Misleading Code Indentations by legulere on Sunday January 10, 2016 @05:08PM (#10877456)
You should have -Werror enabled on debug builds when developing and disabled on release builds.
Re:GCC 6 Will Warn You About Misleading Code Indentations by MereInterest on Sunday January 10, 2016 @06:26PM (#10877742)
Huh. I would think it to be the other way around. When debugging, let me comment stuff out without erroring due to an unused variable or an unused parameter. Let me use a C-style cast to check the bit representation of an object. Then when building the release build, enable -Werror to make sure that I'm not sweeping anything under the rug.