<div dir="ltr"><div>Good catch!</div><div>Wikipedia page does not even agree on longlong... But it's not the ultimate normative reference, better check by ourselves!</div><div><a href="https://en.wikipedia.org/wiki/Data_structure_alignment">https://en.wikipedia.org/wiki/Data_structure_alignment</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le ven. 29 mai 2020 à 15:53, Marcel Taeumel <<a href="mailto:marcel.taeumel@hpi.de">marcel.taeumel@hpi.de</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div id="gmail-m_3414838106470931193__MailbirdStyleContent" style="font-size:10pt;font-family:Arial;color:rgb(0,0,0)">Hi, there.<div></div><div><br></div><div>In ExternalType class >> #initializeAtomicTypes, there is an interesting claim and a piece of dead code:</div><div><br></div><div><div>"On 32 bits Windows and MacOS, double and long have an alignment of 8. But on Linux, their alignment is 4"</div><div>(Smalltalk wordSize = 4 and: [Smalltalk platformName = 'unix']) ifTrue: [</div><div><span style="white-space:pre-wrap">        </span>(#('double longlong ulonglong') includes: typeName) ifTrue: [</div><div><span style="white-space:pre-wrap">            </span>byteAlignment := 4</div><div><span style="white-space:pre-wrap">       </span>]</div><div>].</div></div><div><br></div><div>As you can see, there are single quotes missing and so will the path "byteAlignment  := 4" never be reached.</div><div><br></div><div>I tried to figure out whether one should either fix the conditional or remove the entire passage. Maybe this got long fixed inside the FFI plugin?</div><div><br></div><div>Best,</div><div>Marcel</div></div><br>
</blockquote></div>