News for hackers. Stuff that matters.
Re:C, C++, x86/x64 assembly: The case of forgotten return by spc476 on Friday December 14, 2018 @08:04PM (#18686339)
It's too noisy just by itself. First time I tried it, it complained about padding added to structures. When I packed them, it complained about packed structures.
Re:C, C++, x86/x64 assembly: The case of forgotten return by MaulingMonkey on Saturday December 15, 2018 @04:58AM (#18687818)
Manually pad them, and it'll complain about unused fields ;)

I've actually had some pieces of code where it was super useful to enable that padding warning as an error. Some complicated C++ types that needed to have identical memory layouts across compilers yet often weren't because of some really nasty shenanigans...

-Weverything is for people who really want to explicitly opt out of every warning they don't like.