[cfe-dev] CLang + iostreams on Windows = problems?

John McCall rjmccall at apple.com
Wed Sep 28 23:57:24 PDT 2011


On Sep 28, 2011, at 11:20 PM, Ryan Molden wrote:
>   Hi all, I am new to Clang/LLVM and this list, so apologies if this is the wrong channel (also:  now accepting redirection to the proper channel!)
>  
> I enlisted in the LLVM and Clang branches and followed the web page instructions on getting them building (which worked without a hitch, kudos).  I then tried compiling a dead simple hello world program and ran into some linker errors I can't quite figure out.  I reduced the necessary code to cause some of the errors down to this:

Clang's implementation of MSVC's C++ ABI is still very minimal, and it's unlikely that you'll be able to get Clang to produce code which would interoperate correctly with Microsoft's standard library, even if it linked successfully.  We'd *love* to see more work on this, though.

That said, it looks like Clang is producing code for the Itanium ABI;  it's probably compiling as if it were targeting mingw.

John.



More information about the cfe-dev mailing list