3 ms·
Did you even look at the link I sent ? The warnings kindly tell you about actual undefined behaviour that is 100% a bug, like what -Wstrict-aliasing or -Wreturn
by jcelerier 5y ago
Did you even look at the link I sent ? The warnings kindly tell you about actual undefined behaviour that is 100% a bug, like what -Wstrict-aliasing or -Wreturn-type reports
- saagarjha 5y agoYeah, I did. What you wrote was almost certainly a mistake (although, it's not guaranteed: one can image a macro expanding to such a tautology). But this is far from a convincing argument that all warnings indicate mistakes.
- jcelerier 5y agoThis exact mistake used to be in e.g. Qt, KDE, and Chromium code. That shit causes real world damage !