<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><pre><font face="Helvetica">Basically it goes like this:</font></pre><pre><font face="Helvetica">struct S1;</font></pre><pre><font face="Helvetica">struct D1 : S1;</font></pre><pre><font face="Helvetica">struct D9 : S1, D1;</font></pre><pre><font face="Helvetica">Are there unique considerations for that which require unit testing? or can we simply pull the multiple inheritance to remove this warning:</font></pre><pre style="font-family: 'Courier New', courier, monotype, monospace; "><span class="stdout">AlignOfTest.cpp:59:8: warning: direct base ‘{anonymous}::S1’ inaccessible in ‘{anonymous}::D9’ due to ambiguity [enabled by default]</span></pre></div><div>Index: unittests/Support/AlignOfTest.cpp</div><div>===================================================================</div><div>--- unittests/Support/AlignOfTest.cpp<span class="Apple-tab-span" style="white-space:pre">      </span>(revision 168110)</div><div>+++ unittests/Support/AlignOfTest.cpp<span class="Apple-tab-span" style="white-space:pre">       </span>(working copy)</div><div>@@ -56,7 +56,7 @@</div><div> struct D6 : S2, S3 {};</div><div> struct D7 : S1, S3 {};</div><div> struct D8 : S1, D4, D5 { double x[2]; };</div><div>-struct D9 : S1, D1 { S1 s1; };</div><div>+struct D9 : D1 { S1 s1; };</div><div> struct V1 { virtual ~V1(); };</div><div> struct V2 { int x; virtual ~V2(); };</div><div> struct V3 : V1 { virtual ~V3(); };</div><div><br></div><div>Just want to make sure we're not losing any coverage by removing this ambiguous multiple inheritance.</div><div><br></div><div>Joe</div><div><br></div><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; "><div><span class="Apple-style-span" style="-webkit-text-decorations-in-effect: underline; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><font class="Apple-style-span" face="Verdana" size="2" color="#052090"><b>______________________________</b></font></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><font class="Apple-style-span" face="Verdana" size="2" color="#052090"><b>Joe Abbey</b></font></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><font class="Apple-style-span" face="Verdana" size="2" color="#052090">Director of Software Development</font></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><font class="Apple-style-span" face="Verdana" size="2" color="#052090">Arxan Technologies</font></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><font class="Apple-style-span"><a href="mailto:jabbey@arxan.com" style="color: blue; "><font class="Apple-style-span" face="Verdana" size="2" color="#0433ff">jabbey@arxan.com</font></a><font class="Apple-style-span" style="font-family: Calibri, sans-serif; font-size: 15px; "> </font></font><span class="Apple-style-span" style="color: rgb(169, 169, 169); border-collapse: separate; border-spacing: 0px; "><span class="Apple-style-span" style="-webkit-text-decorations-in-effect: underline; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; "><font class="Apple-style-span" face="Verdana"><a href="http://www.arxan.com/" style="color: rgb(0, 0, 0); "><font class="Apple-style-span" color="#ff9324" size="2">www.arxan.com</font></a></font></span></span></span></span></div></span></div></span></div></span></div></span></div></span></span><span class="Apple-style-span" style="color: rgb(169, 169, 169); border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; "><span class="Apple-style-span" style="font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; -webkit-text-decorations-in-effect: underline; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; "><font class="Apple-style-span" face="Verdana"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><font size="2">Protecting the App Economy™</font></div></span></div></span></div></span></div></div></font></span></span></span></span></div><div><br></div></span><br class="Apple-interchange-newline">
</div>
<br></body></html>