[Bug 38337] clang compiling warnings

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Feb 26 22:13:56 CST 2019


https://bugs.winehq.org/show_bug.cgi?id=38337

--- Comment #15 from Sergey Isakov <isakov-sl at bk.ru> ---
/Volumes/MacHD/Users/sergey/Documents/Projects/winehq/include/ddk/wdm.h:34:9:
warning: 'PAGE_SHIFT' macro redefined [-Wmacro-redefined]
#define PAGE_SHIFT  12
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/mach/i386/vm_param.h:99:9:
note: previous definition is here
#define PAGE_SHIFT              I386_PGSHIFT
        ^
1 warning generated.
----------------------------------

There is a conflict with the macOS definition. May be reasonable to rename the
constant

#define WINE_PAGE_SHIFT 12

-- 
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