On Tue, Nov 07, 2006 at 02:37:46AM +0100, Geert Uytterhoeven wrote:
> Ah, good that the `possibility' of 64-bit resources on m68k goes away, and I
> haven't `fixed' all those printf() format warnings yet...
> 
> Speaking about that: how many recently-added silencing casts should be removed
> on platforms without 64-bit resources?

Absolutely none, I'm afraid.

struct resource {
        resource_size_t start;
        resource_size_t end;
...

GCC complains about resource_size_t, no matter what you typedef it to be.
It'd be nice if we could tell GCC that %r meant it'd consume a
resource_size_t, but afaict, there's no ability to define additions to
the format attribute.

Viro's mused on disabling the printk checking entirely with gcc and just
using sparse to verify format strings (so we can add our own types, etc),
but I don't think that's realistic unless a lot more people start
installing sparse.

And widespread adoption of sparse seems unlikely, given that it's under
OSL 1.1 which means it can't go into Debian [1].

GCC's in Stage 1 ... anyone want to write a patch to c-format.c?

[1] 
http://wiki.debian.org/DFSGLicenses#head-2b7e4b3507dcc5657dabaf145df20d6c7d41f159

-
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to