[Bug 21358] New: winecoreaudio compilation failure due to conflicts with sys/queue.h

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Jan 13 16:31:51 CST 2010


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

           Summary: winecoreaudio compilation failure due to conflicts
                    with sys/queue.h
           Product: Wine
           Version: 1.1.36
          Platform: x86-64
               URL: http://trac.macports.org/ticket/22342
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: wine-2010 at ryandesign.com


Hello, I maintain Wine in MacPorts and one of our users, our resident X11
expert Jeremy Huddleston, has reported that winecoreaudio doesn't compile right
on his system, and he believes that to fix this, the #include for "wine/list.h"
in dlls/winecoreaudio.drv/audio.c should occur after, not before, the #include
for <CoreAudio/CoreAudio.h>.

He suggests a fix like this be used:

http://trac.macports.org/browser/trunk/dports/x11/wine-crossover-games/files/sl-audio.patch?rev=61755

He also suggests that you should rename your macros (e.g. LIST_ENTRY,
LIST_INIT, SLIST_ENTRY) so they do not conflict with OS-defined macros on Mac
OS X and *BSD (in /usr/include/sys/queue.h). See more information in the
MacPorts bug report.

http://trac.macports.org/ticket/22342

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