[LLVMbugs] [Bug 8848] New: Build failure on mingw-w64 toolchains

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Dec 23 08:55:47 PST 2010


           Summary: Build failure on mingw-w64 toolchains
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: vanboxem.ruben at gmail.com
                CC: llvmbugs at cs.uiuc.edu

Created an attachment (id=5922)
 --> (http://llvm.org/bugs/attachment.cgi?id=5922)
patch to remedy the problem

On both x86 and x64 toolchains from mingw-w64.sourceforge.net, the build fails
due to the assumption made that a certain winAPI function is unavailable and a
different declaration is provided. This was probably necessary for mingw.org,
but is bad for mingw-w64 (who are more compatible with MSVC in this regard).

A trivial patch with a check for mingw-w64 toolchain is attached. It also fixes
a _WIN32_WINNT macro redefinition warning.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list