[LLVMbugs] [Bug 19956] New: clang-cl: Building <xloctime> with multithreaded run-time gives compile error

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jun 5 12:51:09 PDT 2014


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

            Bug ID: 19956
           Summary: clang-cl: Building <xloctime> with multithreaded
                    run-time gives compile error
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jmuizelaar at mozilla.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

$ cat test.cc
#include <xloctime>
int main()
{
}

$ clang-cl -MD -GR- -D_HAS_EXCEPTIONS=0  test.cc

In file included from test.cpp:1:
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\INCLUDE\xloctime(961,64)
:  error: definition of dllimport static field not allowed
        __PURE_APPDOMAIN_GLOBAL locale::id time_put<wchar_t, _OutIt>::id;
                                                                      ^

-- 
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/20140605/630b55e2/attachment.html>


More information about the llvm-bugs mailing list