Re: somebody dropped a (warning) bomb

From: Pekka Enberg
Date: Tue Feb 13 2007 - 14:44:32 EST


On 2/13/07, Sergei Organov <osv@xxxxxxxxx> wrote:
With almost any warning out there one makes more or less efforts to
suppress the warning where it gives false positives, isn't it?

Yes, as long it's the _compiler_ that's doing the effort. You
shouldn't need to annotate the source just to make the compiler shut
up. Once the compiler starts issuing enough false positives, it's time
to turn off that warning completely. Therefore, the only sane strategy
for a warning is to aim for zero false positives.

Pekka
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/