Article View: comp.bugs.4bsd
Article #90Re: Ultrix CC bug?
From: Doug Gwyn
Date: Sat, 16 Sep 1989 23:13
Date: Sat, 16 Sep 1989 23:13
8 lines
785 bytes
785 bytes
In article <199@infovax.UUCP> bl@infovax.UUCP (Bj|rn Larsson) writes: >test program causes cc to complain about the left-hand side of the marked >expression. > l = *((long *) p)++; /* <<< Here! */ I would expect the compiler to complain about the RIGHT-hand side. You're not permitted to apply ++ to an rvalue (which is what you have after the cast is applied)!
Technical Details
Message-ID:
<11080@smoke.BRL.MIL>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!haven!adm!smoke!gwynReferences:
<199@infovax.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.bugs.4bsd Subject: Re: Ultrix CC bug? Keywords: Ultrix, BSD4.x, CC, Bug? Message-ID: <11080@smoke.BRL.MIL> Date: 16 Sep 89 23:13:10 GMT References: <199@infovax.UUCP> Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 8