[llvm-bugs] [Bug 28123] New: clang on windows fails to compile regex code

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jun 14 05:15:07 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=28123

            Bug ID: 28123
           Summary: clang on windows fails to compile regex code
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: adamf88 at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

I'm getting error message if I try to compile code below using LLVM-vs2014 in
Visual Studio 2015:

#include <regex>
int main()
{
    std::regex test("test");
}

Error message:
1>CL : fatal error : error in backend: symbol
'?id@?$collate at D@std@@2V0locale at 2@A' can not be undefined

In Visual Studio 2015 with LLVM-vs2014 the same code compiles properly.

For tests I used most recent installer from http://llvm.org/builds/:
LLVM-3.9.0-r272572-win32.exe

-- 
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/20160614/23596a4d/attachment.html>


More information about the llvm-bugs mailing list