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

Ryan Molden ryanmolden at gmail.com
Thu Sep 29 00:29:07 PDT 2011


Sounds like I may have found a project area to get my investigative
adventures an actual direction, thanks!

Ryan From: John McCall
Sent: Wednesday, September 28, 2011 11:59 PM
To: Ryan Molden
Cc: cfe-dev at cs.uiuc.edu
Subject: Re: [cfe-dev] CLang + iostreams on Windows = problems?
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