http://bugs.winehq.org/show_bug.cgi?id=15332
Summary: Compiling on PC-BSD with -Werror fails in dlls/mscms/handle.c Product: Wine Version: 1.1.4 Platform: PC OS/Version: FreeBSD Status: UNCONFIRMED Keywords: source Severity: enhancement Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com
In today's installment of finding obscure bugs on weird setups, tried compiling on PC-BSD with:
CFLAGS="-Werror" ./configure && make clean && make depend && make
which works, all the way up to: gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -I/usr/local/include -Werror -o handle.o handle.c In file included from mscms_priv.h:52, from handle.c:32: /usr/local/include/lcms.h:213:1: "HIWORD" redefined In file included from ../../include/wine/debug.h:25, from handle.c:22: ../../include/windef.h:301:1: this is the location of the previous definition *** Error code 1
Stop in /usr/home/pcbsd/wine-git/dlls/mscms. *** Error code 1
Stop in /usr/home/pcbsd/wine-git/dlls. *** Error code 1
Stop in /usr/home/pcbsd/wine-git.
Marking as unconfirmed, since I'm not sure if Wine can work around this or not...