Skip to content

Problem with lib/Support/Windows/DynamicLibrary.inc and mingw-w64 #9220

@rubenvb

Description

@rubenvb
Bugzilla Link 8848
Resolution FIXED
Resolved on Mar 16, 2011 16:49
Version trunk
OS Windows NT
Blocks llvm/llvm-bugzilla-archive#9072
Attachments patch to remedy the problem
CC @rubenvb

Extended Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzilla

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions