<div dir="ltr">Reverted in r267865.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 27, 2016 at 10:31 PM, Dmitry Polukhin <span dir="ltr"><<a href="mailto:dmitry.polukhin@gmail.com" target="_blank">dmitry.polukhin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">So it seems that there is an agreement that Clang don't need this MSVC "feature" so I'll revert my patch tomorrow when I get to the office.</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 27, 2016 at 10:09 PM, Stephan T. Lavavej <span dir="ltr"><<a href="mailto:stl@exchange.microsoft.com" target="_blank">stl@exchange.microsoft.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">[Richard Smith]<br>
> You can find a description of the problem in <a href="http://llvm.org/PR27337" rel="noreferrer" target="_blank">http://llvm.org/PR27337</a><br>
<span>> Brief summary:<br>
> The WTL bug is the missing 'public' on the second base class on this line: <a href="https://sourceforge.net/p/wtl/code/HEAD/tree/trunk/wtl/Samples/MDIDocVw/mainfrm.h#l636" rel="noreferrer" target="_blank">https://sourceforge.net/p/wtl/code/HEAD/tree/trunk/wtl/Samples/MDIDocVw/mainfrm.h#l636</a><br>
> The C1xx bug is that it accepts a (non-C-style) cast from a base class to an inaccessible derived class.<br>
<br>
</span>Thanks, I've asked my boss if MS devs still maintain WTL and if so, who.<br>
<br>
As for C1XX, I've filed VSO#216958 "C1XX shouldn't allow static_cast to bypass private inheritance" with a self-contained repro.<br>
<span><font color="#888888"><br>
STL<br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div>