Comment Re:EMusic and Bitrot (Score 2) 221
Students Take Pictures From Space On $150 Budget 215
Comment Re:CFLAGS (Score 1) 391
But it doesn't need a boundary if checked at a stage where the original construct is still accessible. if ptr->member is used before ptr is checked for NULL, throw the warning. Most coding is not going to make a structure that starts at zero. I can imagine doing it in 16-bit real mode code, maybe, but not sure it'd happen even then, and then the warning could be disabled.
This would be useful, and in the kernel, most coders would be surprised by such an optimization and would rather fix the problem or, as has been the case with some truly unnecessary checks, remove them from the source.
I agree that gcc should make it a warning. It may be that it identifies it too late (in optimization) and no longer has line number info?
I also agree this is due to a kernel bug, but a warning could've eliminated that.
Comment Re:CFLAGS (Score 1) 391
Comment Re:WTF does maybe mean? (Score 1) 345
Comment Re:25 square mm, not 25 mm square (Score 1) 126
And I have two engineering degrees, so there!
I don't think the units had as much to do with it as the ambiguity of area vs. dimensional size.
Since the original posting had said "measured 25 mm square" it wasn't clear whether it
was referring to it's area or actual dimensions. Go have a pint of ale on me.