Re: bin/ln & WARNS=5

"M. Warner Losh" <[email protected]> Mon, 15 Jul 2002 09:28:04 -0600 (MDT)
Newsgroups gmane.os.freebsd.devel.audit
Message-ID <[email protected]>
In message: <[email protected]>
            Dag-Erling Smorgrav <[email protected]> writes:
: "M. Warner Losh" <[email protected]> writes:
: > : > There are two different cases - one is "sizeof(type)" which requires
: > : > parentheses, the other is "sizeof variable" which doesn't.  In the
: > : > latter case, the rule about avoiding unnecessary parentheses applies.
: > That's not always the case.  sizeof type always works too.
: 
: No, "sizeof type" is a syntax error in C89 and C99.

In any event, sizeof(var) is the BSD way of saying that.

Warner

To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-audit" in the body of the message