<P>Hello all</P>
<P> </P>
<P>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:</P>
<P>----------------------------------------------------------------------------------------------</P>
<P>C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include/iosfwd(212) :  error<BR>:<BR>      no member named '_invalid_parameter_noinfo' in the global namespace; did<BR>      you mean '_invalid_parameter_handler'?<BR>                _SCL_SECURE_CRT_VALIDATE(_Dest_size >= _Count, NULL);</P>
<P>----------------------------------------------------------------------------------------------</P>
<P> </P>
<P>I guess MSVC's STL is compatible then turned to STLport, but it still can not work neither. </P>
<P>----------------------------------------------------------------------------------------------</P>
<P>In file included from ../STLport-5.2.1/stlport/stl/config/_system.h:160:<BR>../STLport-5.2.1/stlport/stl/config/_windows.h(108) :  error: unknown type name<BR>      '_STLP_IMPORT_DECLSPEC'</P>
<P>----------------------------------------------------------------------------------------------</P>
<P> </P>
<P>However the LLVM's online compiler <A href="http://llvm.org/demo/">http://llvm.org/demo/</A> can compile STL successfully. Anything is wrong? Anything I missed? Or I need llvm-gcc? </P>
<P> </P>
<P>Thanks for your help</P>
<P><BR><BR>--Zhanglin</P>