Get rid of lvalue casts etc.

Andreas Jaeger aj@suse.de
Thu Jan 22 11:13:00 GMT 2004



GCC 3.4 has removed the support for casts as lvalues. :-(

I'm appending a tested patch for glibc that fixes some of the
problems.

Ok to commit?

Andreas

2004-01-22  Andreas Jaeger  <aj@suse.de>

	* iconv/gconv_simple.c (ucs4le_internal_loop): Remove cast used as
	lvalue.
	(internal_ucs4le_loop_single): Likewise.
	(ucs4_internal_loop): Likewise.
	(BODY): Likewise.

	* iconv/gconv_open.c (__gconv_open): Remove conditional expression
	as lvalue.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: libc-diff
URL: <http://sourceware.org/pipermail/libc-hacker/attachments/20040122/da62cf70/attachment.ksh>
-------------- next part --------------

-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SuSE Linux AG, Maxfeldstr. 5, 90409 N?rnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-hacker/attachments/20040122/da62cf70/attachment.sig>


More information about the Libc-hacker mailing list