http://llvm.org/bugs/show_bug.cgi?id=18906
Reid Kleckner <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution|--- |WORKSFORME --- Comment #1 from Reid Kleckner <[email protected]> --- Compatibility with the Visual C++ toolchain is new and fairly unstable. Neither RTTI and exceptions work. You can (mostly) avoid both with /GR- and /D_HAS_EXCEPTIONS=0, but /D_HAS_EXCEPTIONS=0 isn't officially supported by Microsoft. Clang 3.4 will not work with MSVC 2013 headers due to some new type traits, as you discovered. A more recent Clang will work, though. I can get your example to work with a recent Clang and MSVC 2013 with those options: $ cat t.cpp #include <iostream> int main() { std::cout << "Hello World! It truly is a wonderful day to be alive!." << std::endl; return 0; } $ clang-cl t.cpp -GR- -D_HAS_EXCEPTIONS=0 && ./t.exe Hello World! It truly is a wonderful day to be alive!. We have lots of other bugs tracking more targeted issues, so I'm going to close this in favor of those. http://llvm.org/bugs/show_bug.cgi?id=12477 http://llvm.org/bugs/show_bug.cgi?id=13707 -- 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
