[uClibc 0000977]: Compiler Error, illegal lvalue

bugs at busybox.net bugs at busybox.net
Tue Aug 1 07:24:58 UTC 2006


The following issue has been SUBMITTED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=977 
====================================================================== 
Reported By:                GJanak
Assigned To:                uClibc
====================================================================== 
Project:                    uClibc
Issue ID:                   977
Category:                   Architecture Specific
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             08-01-2006 00:24 PDT
Last Modified:              08-01-2006 00:24 PDT
====================================================================== 
Summary:                    Compiler Error, illegal lvalue
Description: 
Using Snapshot from 1.8.2006:

uClibc/libc/string/powerpc/string.c: line 212 (and more)
orginal:
 do {
                *--(unsigned char *)tmp_to = *--(unsigned char *)from;
        } while (--rem);
*Gives an illegal lvalue error with gcc 4.1.1

workaround:

 do {
                --tmp_to;
                --from;
                *(unsigned char *)tmp_to = *(unsigned char *)from;
        } while (--rem);

====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-01-06 00:24  GJanak         New Issue                                    
08-01-06 00:24  GJanak         Status                   new => assigned     
08-01-06 00:24  GJanak         Assigned To               => uClibc          
======================================================================




More information about the uClibc-cvs mailing list