[Bug 35318] New: build fail on FreeBSD

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jan 5 10:02:56 CST 2014


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

            Bug ID: 35318
           Summary: build fail on FreeBSD
           Product: Wine
           Version: 1.7.10
          Hardware: x86
                OS: FreeBSD
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
          Assignee: wine-bugs at winehq.org
          Reporter: fiziologus at gmail.com
    Classification: Unclassified

Wine fail to build in FreeBSD after adding IPX support

Log in clang (in gcc same):


clang -c -o socket.o socket.c -I. -I../../include -D_REENTRANT -fPIC
-D__WINESRC__ -DUSE_WS_PREFIX -Wall -pipe -fno-strict-aliasing
-Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers
-Wstrict-prototypes -Wtype-limits -Wwrite-strings -Wpointer-arith
-fno-omit-frame-pointer -I/usr/local/include -O2 -pipe -fno-strict-aliasing 
gmake[1]: Entering directory
`/usr/ports/emulators/wine-devel/work/wine-1.7.10/dlls/wshom.ocx'
../../tools/widl/widl -o wshom.h wshom.idl -I. -I../../include -D__WINESRC__  
../../tools/wrc/wrc -o wshom.res wshom.rc -I. -I../../include --nostdinc
--po-dir=../../po -D__WINESRC__ 
../../tools/widl/widl -o wshom_t.res wshom.idl -I. -I../../include
-D__WINESRC__  
clang -c -o shell.o shell.c -I. -I../../include -D_REENTRANT -fPIC
-D__WINESRC__  -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement
-Wempty-body -Wignored-qualifiers -Wstrict-prototypes -Wtype-limits
-Wwrite-strings -Wpointer-arith -fno-omit-frame-pointer -I/usr/local/include
-O2 -pipe -fno-strict-aliasing 
socket.c:1476:35: error: invalid operands to binary expression ('int' and
'union ipx_net')
            return ipx->sipx_port || ipx->sipx_network ||
memcmp(&ipx->sipx_node, &emptyAddr.sipx_node, sizeof(emptyAddr.sipx_node));
                   ~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~
1 error generated.
gmake[1]: *** [socket.o] Error 1
gmake[1]: Leaving directory
`/usr/ports/emulators/wine-devel/work/wine-1.7.10/dlls/ws2_32'
gmake: *** [dlls/ws2_32] Error 2


ipx->sipx_network (aka ipx_net) is union with field u_char c_net[4] and u_short
s_net[2].

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list