Re: [PATCH 1/4] LOG2: Implement a general integer log2 facility in the kernel [try #4]

From: Samuel Tardieu
Date: Mon Oct 09 2006 - 17:02:12 EST


>>>>> "Jan" == Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx> writes:

>> That only offsets the problem a bit. You still have to derive
>> uint32_t from somewhere.

Jan> The compiler could make it available as a 'fundamental type' -
Jan> i.e. available without any headers, like 'int' and 'long'.

The compiler isn't allowed to pollute your namespace with symbols like
that. What if someone defines uint32_t as a function for example in
her code? (yes, this would be sick, but is allowed by default)

Sam
--
Samuel Tardieu -- sam@xxxxxxxxxxx -- http://www.rfc1149.net/

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