On Sat, Jul 29, 2000 at 11:51:53AM +0100, Mark Ovens wrote:
> In the ANSI Standard (K&R 2e, A7.14 & A7.15) it states that, in the
> case of the ``&&'' operator, the right operand is evaluated only if
> the left operand evaluates to non-zero, and, for ``||'', the right
> operand is evaluated only if the left operand evaluates to zero.
>
> My questions are: does gcc(1) honour this, and is it permitted to rely
> on this behaviour in FreeBSD (base system)?
Lots of C code would break if this wasn't honoured. Gcc deals with it
just fine.
David.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message