Giorgos Keramidas writes:

>      3        #define VALUE   0

> My original question was if this is not behavior that should be
> considered buggy, since the size of VALUE has not been determined to be
> equal to sizeof(int) when the #define occurs, or has it?

The size of VALUE is not the issue; the type is `int' in the
line quoted above.  If you want VALUE to be a `short', you need
to say:

    #define VALUE ((short) 0)

-- 
Greg Black <[EMAIL PROTECTED]>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to