Article View: gnu.gcc.bug
Article #1047Bad interpretation
From: Scott Beckstead
Date: Wed, 02 Sep 1992 02:21
Date: Wed, 02 Sep 1992 02:21
6 lines
683 bytes
683 bytes
Well I looked at my K&R book this morning and discovered that the ! operator does not do what I thought it should. Sorry about that. Therefore !strcmp(some,other) should work like advertised. I am still convinced that this is a very unclear way to state the expected condition. But it is unlikely to be a bug in GCC.
Technical Details
Message-ID:
<9209021621.AA22136@yarc>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!yarc.UUCP!scottShow Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!yarc.UUCP!scott From: scott@yarc.UUCP (Scott Beckstead) Subject: Bad interpretation Message-ID: <9209021621.AA22136@yarc> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Wed, 2 Sep 1992 02:21:34 GMT Approved: bug-gcc@prep.ai.mit.edu Lines: 8