[Bug 15332] Compiling on PC-BSD with -Werror fails in dlls/mscms/handle.c
wine-bugs at winehq.org
wine-bugs at winehq.org
Mon Sep 22 16:40:37 CDT 2008
http://bugs.winehq.org/show_bug.cgi?id=15332
--- Comment #3 from Austin English <austinenglish at gmail.com> 2008-09-22 16:40:37 ---
Created an attachment (id=16224)
--> (http://bugs.winehq.org/attachment.cgi?id=16224)
patch
Looking at the errors/files involved, seems there's a conflict in defining
HIWORD between /usr/local/include/lcms.h & ../include/windef.h:
lcms - #define HIWORD(l) ((WORD)((DWORD)(l) >> 16))
windef - #define HIWORD(l) ((WORD)((DWORD_PTR)(l) >> 16))
adding undef HIWORD to mscms_priv.h eliminates the conflict, allowing the
windef definition to overrule it.
For something similar, look at BOOL/DWORD/LPDWORD in mscms_priv.h
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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