From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 1 Sep 2006 16:45:26 +0400 From: Alexey Tourbin To: ALT Devel discussion list Message-ID: <20060901124526.GT11420@localhost.localdomain> Mail-Followup-To: ALT Devel discussion list References: <20060901033255.GP11420@localhost.localdomain> <20060901110740.GA30804@basalt.office.altlinux.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AQfDLMJ/cCCv3UHO" Content-Disposition: inline In-Reply-To: <20060901110740.GA30804@basalt.office.altlinux.org> Subject: Re: [devel] invalid lvalue in assignment X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Sep 2006 12:45:25 -0000 Archived-At: List-Archive: List-Post: --AQfDLMJ/cCCv3UHO Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 01, 2006 at 03:07:40PM +0400, Dmitry V. Levin wrote: > On Fri, Sep 01, 2006 at 07:32:55AM +0400, Alexey Tourbin wrote: > > On Wed, Aug 30, 2006 at 02:42:13PM +0400, QA Team Robot wrote: > > > Package: SearchAndRescue-0.8.2-alt2.1 > > > Packager: Vitaly Lipatov > >=20 > > > menu.c: In function 'SARMenuLabelNew': > > > menu.c:704: error: invalid lvalue in assignment > >=20 > > 703 /* Allocate structure */ > > 704 m->object[n] =3D (void *)label_ptr =3D SAR_MENU_LABEL(c= alloc( > > 705 1, sizeof(sar_menu_label_struct) > > 706 )); > >=20 > > =FC=D4=CF =C4=CF=D7=CF=CC=D8=CE=CF =D4=C9=D0=C9=DE=CE=C1=D1 =D3=C9=D4= =D5=C1=C3=C9=D1, =CB=CF=D4=CF=D2=C1=D1 =D7=D3=D4=D2=C5=DE=C1=C5=D4=D3=D1 = =D7 =CC=CF=C7=C1=C8. > > =F0=CF =D3=D5=D4=C9 =D3=D4=C1=CC=CF =CE=C5=CC=D8=DA=D1 =D3=CF=D7=CD=C5= =DD=C1=D4=D8 =C4=D7=CF=CA=CE=CF=C5 =D0=D2=C9=D3=D7=C1=C9=D7=C1=CE=C9=C5 =D3= =D0=D2=C9=D7=C5=C4=C5=CE=C9=C5=CD =D4=C9=D0=C1. >=20 > =EE=C5=D4, =D7=D3=A3 =D0=D2=CF=DD=C5: >=20 > $ cat test.c > int main() > { > char *p; > (void*)p =3D 0; > return !!p; > } > $ gcc test.c > test.c: In function 'main': > test.c:4: error: invalid lvalue in assignment =F4=CF=DE=CE=CF. K&R =D3=D4=D2. 261 =D7=D7=C5=D2=C8=D5 (=D7 =D2=D5=D3=D3= =CB=CF=CD =C9=DA=C4=C1=CE=C9=C9): =F7=D9=D2=C1=D6=C5=CE=C9=C5 =D3 =D0=D2=C9=D7=C5=C4=C5=CE=C9=C5=CD =D4=C9=D0= =C1 =CE=C5 =D1=D7=CC=D1=C5=D4=D3=D1 lvalue. 8-( --AQfDLMJ/cCCv3UHO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFE+CtmfBKgtDjnu0YRAnyBAKDf2EyO655arIFuONf/cbw35+1emwCg3RAs QOrRcFanEhFyyz0cPRyeuOA= =zHaN -----END PGP SIGNATURE----- --AQfDLMJ/cCCv3UHO--