[Bug 2283] New: "warning: use of cast expressions as lvalues is deprecated"

Wine Bugs wine-bugs at winehq.org
Sun Jun 13 17:26:15 CDT 2004


http://bugs.winehq.org/show_bug.cgi?id=2283

           Summary: "warning: use of cast expressions as lvalues is
                    deprecated"
           Product: Wine
           Version: CVS
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: trivial
          Priority: P2
         Component: wine-resources
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: jjk3 at msstate.edu


When building WINE CVS, I get the following compiler warnings:

--
make[2]: Entering directory `/home/joeljkp/Wine/wine/tools/wrc'
gcc -c -I. -I. -I../../include -I../../include 
-DINCLUDEDIR="\"/usr/local/include/wine\""  -Wall -pipe
-mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -g
-O2 -o dumpres.o dumpres.c
gcc -c -I. -I. -I../../include -I../../include 
-DINCLUDEDIR="\"/usr/local/include/wine\""  -Wall -pipe
-mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -g
-O2 -o genres.o genres.c
gcc -c -I. -I. -I../../include -I../../include 
-DINCLUDEDIR="\"/usr/local/include/wine\""  -Wall -pipe
-mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -g
-O2 -o newstruc.o newstruc.c
newstruc.c: In function `handle_ani_list':
newstruc.c:805: warning: use of cast expressions as lvalues is deprecated
newstruc.c: In function `new_ani_curico':
newstruc.c:916: warning: use of cast expressions as lvalues is deprecated
gcc -c -I. -I. -I../../include -I../../include 
-DINCLUDEDIR="\"/usr/local/include/wine\""  -Wall -pipe
-mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -g
-O2 -o readres.o readres.c
--

These are minor, and don't cause any problems that I can see, but should
probably be fixed nonetheless. Here's my gcc info:

--
$ gcc --version
gcc (GCC) 3.3.3 20040412 (Gentoo Linux 3.3.3-r6, ssp-3.3.2-2, pie-8.7.6)
$
--

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



More information about the wine-bugs mailing list