[cfe-dev] How to use STL with clang++?

Juan Rubén Segovia juanruben82 at gmail.com
Thu Dec 23 04:35:18 PST 2010


Hi there! I am a new one here..

Contributing in this area sounds like a good start point to me.
How could I get started working on the MSVC support in clang?

Cheers!
Juan


2010/12/23 Sebastian Redl <sebastian.redl at getdesigned.at>

> On 23.12.2010 04:11, way_lzl at sina.com wrote:
>
>>
>> Hello all
>>
>> Anyone can help me use STL with clang++? My LLVM+Clang was compiled with
>> MSVC8 on Windows7. then I found \Microsoft Visual Studio 8\VC\include is set
>> as the default header file searching path. But c++ with STL will report
>> errors as below:
>>
>>
>>  There's more than one STL in this world. There's GCC's STL (libstdc++),
> which Clang fully supports up to version 4.2. There's Dinkumware's STL, a
> variant of which is shipped by Microsoft, which Clang does not yet support,
> since it uses lots of MS-specific extensions. There's also STLport, an
> independent project. You don't turn MS's STL to STLport, you replace the
> MSSTL with STLport when you switch to it. I assume Clang would support
> STLport, but you'd have to adapt the STLport configuration to recognize and
> correctly configure Clang. Or maybe someone already did; try googling.
>
> We've got two or three people working on making MS's various headers work
> in Clang, but this stuff takes time.
>
> Sebastian
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20101223/9aaa61ad/attachment.html>


More information about the cfe-dev mailing list