r267534 - [MSVC] PR27337: allow static_cast from private base to derived for WTL

Stephan T. Lavavej via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 27 11:50:53 PDT 2016


[Dmitry Polukhin]
> As for 'A*' to 'B*" case, indeed it is not very common and it looks like someone just forgot to specify 'public'.

If we're doing something gratuitously nonconformant in MS product code or even sample code, you should report it to us, so we can fix it upstream, instead of having to add more bug compatibility to clang, or tolerate known failures when using clang on MS sample code.

I don't have the context here (just subscribed to cfe-commits), but if you can send me a self-contained writeup of where and what the problem is in the WTL sample, I can go find the owner and report it to them. We can't go back in time and fix released stuff, but we should be able to apply simple fixes to future releases of products and samples.

Thanks,
Stephan T. Lavavej
Senior Developer - Visual C++ Libraries


More information about the cfe-commits mailing list