jfb added a comment. In http://reviews.llvm.org/D17951#376546, @bcraig wrote:
> Visual Studio has a flag, /Zc:wchar_t-, that turns wchar_t into a short. > This flag is for people that need to maintain ABI compatibility with ancient > Visual Studios (MSVC6? MSVC5?). It is definitely non-conformant, and many > things support it poorly. > > I still have nightmares of supporting boost::filesystem users where > boost::filesystem was built with real wchar_t, but clients tried to use it > with wchar_t as short. The linker generally disapproved of those shenanigans. > > I'm totally fine if libcxx doesn't try to support this situation... but if it > did want to support it, it would need to selectively not define wchar_t. That would be pre-C++ standardization (*any* standard) code trying to interact with C++17. I'm inclined to say we shouldn't care ;-) http://reviews.llvm.org/D17951 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits