<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 17, 2015 at 3:43 PM, Welson Sun via cfe-dev <span dir="ltr"><<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</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"><span style="font-size:13px">Hi,</span><div style="font-size:13px"><br></div><div style="font-size:13px">I would like to get some confirmation/info/link regarding the memory layout compatibility between Clang and gcc. Specifically, for the struct and class construct. Default and when #pragma pack is used.</div></div></blockquote><div><br></div><div>Clang and GCC are supposed to be compatible in this regard. Any incompatibility is likely a bug in one of the two compilers.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-size:13px"><br clear="all"><div><br></div>Thanks,<br><div><div dir="ltr">- Welson</div></div></div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div><div dir="ltr">- Welson<br><div><div><div><br></div></div></div></div></div>
</font></span></div>
<br>_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div><br></div></div>