[LLVMdev] Using C++'11 language features in LLVM itself

Daniels, Marcus G mdaniels at lanl.gov
Thu Jan 10 15:07:25 PST 2013


On Jan 10, 2013, at 3:57 PM, Justin Holewinski wrote:
> The problem is that LLVM is a C++ library.  You cannot build it with MinGW and then consume the libraries with MSVC.  If you want (need?) to compile your application with MSVC, then you have to build LLVM with MSVC too.
>  

Well then, normalize the crucial interfaces to a extern "C" ABI, or the reverse, abstract the Windows side API to something well behaved.   Heck, use COM to glue things together.    Sooner or later Microsoft will come around.   

Marcus





More information about the llvm-dev mailing list