[LLVMbugs] [Bug 13779] New: Clang compiled objects have __imp_*@xx instead of __imp_*

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Sep 6 02:56:18 PDT 2012


             Bug #: 13779
           Summary: Clang compiled objects have __imp_*@xx instead of
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: amine.khaldi at reactos.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Even a simple testcase like:

#include <windows.h>
int main()
    int err = GetLastError();

Will emit, in the .o file, __imp_GetLastError at 0 instead of __imp_GetLastError
That leads to linker errors.

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