[LLVMbugs] [Bug 13450] New: "Global is marked as dllimport, but not external"

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jul 24 18:26:02 PDT 2012


http://llvm.org/bugs/show_bug.cgi?id=13450

             Bug #: 13450
           Summary: "Global is marked as dllimport, but not external"
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: ripzonetriton at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified


compiling the following code:

extern __declspec(dllimport) void(*test)();
void(*test)();

int main()
{
}

produces:


Global is marked as dllimport, but not external
void ()** @test
Broken module found, compilation aborted!
clang: error: clang frontend command failed with exit code 3 (use -v to see
invocation)

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