"Maciej W. Rozycki" <[EMAIL PROTECTED]> writes:

> On Mon, 21 Feb 2005, Hrvoje Niksic wrote:
>
>> > Actually "if (sizeof(number) == 8)" is much more readable than any
>> > preprocessor clutter and yields exactly the same.
>> 
>> Agreed, in some cases.  In others it yields to pretty annoying
>> compiler warnings.
>
>  What kind of warnings?

Comparing constants.  Unreachable code.

> It's valid C.

Never said it wasn't -- those are warnings, not errors.

Reply via email to