<div dir="ltr">On 5 March 2013 17:28, Kristof Beyls <span dir="ltr"><<a href="mailto:kristof.beyls@arm.com" target="_blank">kristof.beyls@arm.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-GB" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size:11pt">might be better written as just an unconditional “typedef signed char char_t” for all architectures.</span><br>
</p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Maybe a one-line comment would be useful to state that the test relies on chars being signed, and that chars are not signed by default on all architectures?</span></p>
</div></div></blockquote><div><br></div><div style>That's also an option.</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-GB" link="blue" vlink="purple">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u><u></u></span></p><p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size:11pt">By dropping the “ifdef __arm__” part, the test would also be fixed on any other architectures on which chars are unsigned by default.</span></p>
</div></blockquote><div></div></div><br></div><div class="gmail_extra" style>Are there any others? ;)</div><div class="gmail_extra" style><br></div><div class="gmail_extra" style>--renato</div></div>