[cfe-dev] clang C++ volunteer

Chris Lattner clattner at apple.com
Thu Sep 6 10:51:36 PDT 2007


On Sep 6, 2007, at 10:11 AM, Justin Handville wrote:
> STLPort would be a quick solution to adding STL functionality to
> clang.  Obviously, this is a long way off.
>
> Advantages:
>   * (mostly) complete implementation of ISO/IEC 14882 2003.
>   * thoroughly tested.
>
> Disadvantages:
>   * lots of macro cruft for working with non-standard compilers and
> other implementations of STL.
>   * May need to be updated to properly detect clang.
>
> As far as I know, STLPort would be the best library to use in this
> case, unless we wanted to go through the long process of rolling our
> own.

Working with STLport makes sense.  We also plan to be compatible with  
GNU libstdc++ for ABI compatibility reasons.  We're signing up to  
support GNU extensions, so we #define the "GNUC" macro, which means  
STLport shouldn't need an extra port for us (at least in GCC compat  
mode).

-Chris



More information about the cfe-dev mailing list