[LLVMbugs] [Bug 21164] New: -fms-compatibility: out-of-line definition of static data member not handled correctly

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Oct 5 22:14:40 PDT 2014


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

            Bug ID: 21164
           Summary: -fms-compatibility: out-of-line definition of static
                    data member not handled correctly
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: david.majnemer at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

consider:
struct C {
  static const int I = 5;
};

const int C::I;

We do not emit a definition of C::I even though both the standard and cl.exe
both do.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20141006/6b6a5687/attachment.html>


More information about the llvm-bugs mailing list