<div dir="ltr"><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 class="HOEnZb"><div class="h5">
<br>
</div></div>Meh I mucked up there. THat wont work due to same reason for not using<br>
xstrerror().<br>
<br>
Use a const int xerrno = errno; first, then inside the debugs( ...<br>
xstrerr(xerrno) ...<br></blockquote><div><br></div><div>From my reading of the docs, there is no guarantee that errno be int; only that it is an integral type.<br></div><div>I'm using const  auto (seems a perfect use case for it) unless anyone knows more.<br></div><div><br></div></div>-- <br><div class="gmail_signature">    Francesco</div>
</div></div>