DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37650>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37650

           Summary: apr-iconv fails to build with gcc 4
           Product: APR
           Version: HEAD
          Platform: PC
               URL: http://vmgump.apache.org/gump/public/apr-iconv/apr-
                    iconv-make/gump_work/build_apr-iconv_apr-iconv-make.html
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: APR-iconv
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Using:
vmgump:~# gcc --version
gcc (GCC) 4.0.3 20051023 (prerelease) (Debian 4.0.2-3)

results in the error:
iconv_ces_euc.c: In function 'apr_iconv_euc_open':
iconv_ces_euc.c:65: error: invalid lvalue in assignment

It seems that this version doesn't like attempts to cast an lvalue.  The fix 
is to simply change the line to it's uncasted version:
    ces->data = state;

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to