Re: [patch] new version, u64 cast avoidance

From: Benjamin Herrenschmidt
Date: Sat Feb 28 2004 - 20:27:16 EST



> a. my solution, as given
> b. move u64 and friends to include/linux/*.h
> c. you promise to never complain about warnings
> d. printk("Ugly: " U64_FMT "\n", some_u64_value);
> e. you patch gcc to modify format strings :-)
> f. ...
>
> In other words, how do you propose to eliminate
> the casts?

Can't we live with those casts at least for a while ?

I don't know honestly what is the best solution, they all sound
equally ugly to me.

Ben.


-
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/