<div dir="ltr"><div>I got a fix in the BasicUsageEnvironment/DelayQueue.hh file, in the Timeval constructor.</div><div><p><strong>implicit conversion loses integer precision: 'time_base_seconds' (aka 'long') to '__darwin_suseconds_t' (aka 'int')</strong></p></div><div></div><div>This is because on MacOS, time.usec is type of __darwin_suseconds_t which is int.</div><div><br></div><div>  Timeval(time_base_seconds seconds, time_base_seconds useconds) {<br>    fTv.tv_sec = seconds; fTv.tv_usec = useconds;<br>  }<br><br></div><div>I suggest to add a definition just above the constructor.</div><div><br></div><div>#ifdef _APPLE_<br>typedef time_base_seconds time_base_useconds;<br>#else<br>typedef __darwin_suseconds_t time_base_useconds;<br>#endif</div><div><br></div><div>and modify :</div><div><br></div><div>  Timeval(time_base_seconds seconds, time_base_seconds useconds) {<br>    fTv.tv_sec = seconds; fTv.tv_usec = (time_base_useconds)useconds;<br></div><div>  }</div><div><br></div><div>Regards</div><div><br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr" style="margin-left:0pt" align="left"><table style="border:none;border-collapse:collapse"><colgroup><col width="494"></colgroup><tbody><tr style="height:0pt"><td style="vertical-align:top;padding:5pt 5pt 5pt 5pt;overflow:hidden"><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Roboto,sans-serif;color:#434343;background-color:transparent;font-weight:700;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap">Eric BEUQUE</span><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap"> - </span><span style="font-size:10pt;font-family:Roboto,sans-serif;color:#ea5f0e;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap">Software architect / developer</span></p></td></tr><tr style="height:0pt"><td style="border-bottom:solid #ea5f0e 1pt;vertical-align:top;padding:5pt 5pt 5pt 5pt;overflow:hidden"><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-size:10pt;font-family:Roboto,sans-serif;color:#434343;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap">T. 03 81 51 90 99 | <a href="http://www.seek-one.fr" target="_blank">www.seek-one.fr</a></span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt">6B rue Christiaan Huyguens 25000 BESANCON</p></td></tr><tr style="height:0pt"><td style="border-top:solid #ea5f0e 1pt;vertical-align:top;padding:5pt 5pt 5pt 5pt;overflow:hidden"><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap"><span style="border:none;display:inline-block;overflow:hidden;width:480px;height:72px"><img src="https://lh5.googleusercontent.com/l_3WCNyvBXGK3EMWpwx2Pu__Zk8t1spCvnKOihiKAbgffMbPdFp4xodc-q1TSsbEATFA3s02BIujWtbr7lb4YzYbQ0zZ2fqDQaPgztLbYQZy9xgpGfkSiCWcja9JsE-vkimuzH7qzyB02MnyWiAz_ey19N-HvgTbISasDIdwEDA7ohgBMEl0msZg" style="margin-left:0px;margin-top:0px" width="480" height="72"></span></span></p></td></tr></tbody></table></div></div></div></div></div>