[LLVMbugs] [Bug 19150] clang-cl: Building <string> with multithreaded run-time gives link errors (dllimport not supported on classes)
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Jun 4 14:40:53 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=19150
Hans Wennborg <hans at chromium.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #8 from Hans Wennborg <hans at chromium.org> ---
I just built the code below with "clang-cl /MD /D_HAS_EXCEPTIONS=0 a.cc", and
it worked :)
#include <iostream>
#include <string>
int main() {
std::string s = "hello, world";
std::cout << s << std::endl;
return 0;
}
--
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/20140604/0b8cee81/attachment.html>
More information about the llvm-bugs
mailing list