Date: Tue, 28 May 1996 00:24:02 +1000 From: Bruce Evans <bde@zeta.org.au> To: bde@zeta.org.au, coredump@nervosa.com Cc: freebsd-bugs@freefall.freebsd.org, jkh@freefall.freebsd.org, scrappy@freefall.freebsd.org Subject: Re: gnu/373 Message-ID: <199605271424.AAA07592@godzilla.zeta.org.au>
index | next in thread | raw e-mail
>> that there is a binary operator `!='. Structs are invalid operands for
>> '!='.
>Than wouldn't that be illegal? Why not:
No, it would be invalid. There are no laws against bugs :-).
>struct { int i; } foo; void bar(void) { if (foo.i) baz(); }
The PR is about an apparently-wrong warning for invalid code.
Bruce
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605271424.AAA07592>
