🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.smalltalk.bug
Article #22

Re: Problem with build of GNU Smalltalk, version 1.2

#22
From: Tim Chase
Date: Sun, 13 Dec 1992 16:58
15 lines
1188 bytes
In article <9212140154.AA01136@echidna.rp.CSIRO.AU> kcousins@echidna.rp.csiro.au writes:
>Hello,
>> ccom: Error: mstinterp.c, line 3527: illegal lhs of assignment operator
>>           (char *)arg2 = (char *)toCString(oop4);
>
>I can't see anything obviously wrong with the source code.

A cast isn't an lvalue and is, therefore, illegal as the left operand
of the "=" operator.  Many compilers, however, ignore "benign" casts
(generally those that don't imply a change of operand size).  The fix
is to remove the cast on the left operand.

-- 
Tim Chase		           Introl Corp. Milwaukee, WI USA
Email: tim@introl.com		   Phone: +1 (414) 327-7171
Technical Details
Message-ID: <1gh49sINNvmd@introl.introl.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!spool.mu.edu!sdd.hp.com!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!introl.com!tim
References: <9212140154.AA01136@echidna.rp.CSIRO.AU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!spool.mu.edu!sdd.hp.com!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!introl.com!tim
From: tim@introl.com (Tim Chase)
Newsgroups: gnu.smalltalk.bug
Subject: Re: Problem with build of GNU Smalltalk, version 1.2
Message-ID: <1gh49sINNvmd@introl.introl.com>
Date: 13 Dec 92 16:58:36 GMT
References: <9212140154.AA01136@echidna.rp.CSIRO.AU>
Sender: gnulists@ai.mit.edu
Distribution: gnu
Organization: Introl Corp.
Lines: 15
Approved: bug-smalltalk@prep.ai.mit.edu