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

            Bug ID: 20140
           Summary: failing to unreferenced dllexport static data members
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

For the following code:

  struct __declspec(dllexport) S {
    static const int x = 42;
  };

clang will fail to emit S::x unless its addressed is referenced.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to