Re: Use of C99 int types

From: Renate Meijer
Date: Mon Apr 04 2005 - 05:01:58 EST



On Apr 4, 2005, at 12:08 AM, Kyle Moffett wrote:

On Apr 03, 2005, at 16:25, Kenneth Johansson wrote:
But is this not exactly what Dag Arne Osvik was trying to do ??
uint_fast32_t means that we want at least 32 bits but it's OK with
more if that happens to be faster on this particular architecture.
The problem was that the C99 standard types are not defined anywhere
in the kernel headers so they can not be used.

Uhh, so what's wrong with "int" or "long"?

My point exactly, though I agree with Kenneth that adding the C99 types
would be a Good Thing.

GCC will generally do the right thing if you just tell it "int".

And if you don't, you imply some special requirement, which, if none really exists, is
misleading.

Regards,

Renate.

timeo hominem unius libri

Thomas van Aquino

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