On Sun, Jul 4, 2010 at 8:48 AM, Matthew Mondor <span dir="ltr"><<a href="mailto:mm_lists@pulsar-zone.net">mm_lists@pulsar-zone.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

I wasn't yet hit by this case as I had no 64-bit API using long long to<br>
deal with (NetBSD lseek(2) using a 64-bit off_t (a quad_t, itself a<br>
typedef to int64_t)).  But long long as been in use for a long time in<br>
the C world and it ideally should be supported everywhere the C<br>
compiler allows them...  I'm wondering however, on 64-bit architectures<br> with an ABI where long is 64-bit, is long long a 128-bit type?</blockquote><div><br></div><div>ECL supports "long long" whenever the compiler allows it.</div>

<div><br></div><div>Regarding the other question, ECL just follows the C naming convention. Expecting long, int, long long or any other integer type to have a certain size is simply not right. If you want portable code for that, use uint*_t, int*_t, the C99 integer types. In any other case, just use the types which are specified by the C header -- autoconf might help for that.</div>

<div><br></div><div>Juanjo<br clear="all"></div><br>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://juanjose.garciaripoll.googlepages.com">http://juanjose.garciaripoll.googlepages.com</a><br>