Boost C++ Libraries: Ticket #1064: problem on platforms with no errno.h header file https://svn.boost.org/trac10/ticket/1064 <p> I can't use some boost libraries on the Microsoft Windows Smarthone Edition platform as it lacks the standard header errno.h. In my case it prevents me from using _any_ hashing as hash_float.hpp includes errno.h. For me, any solution (no-errno implementation for hashing floating point numbers or just inability to hash floating point numbers) is ok, as long as it allows me to hash other types (say strings). </p> <p> Is it possible to get rid of inclusion of this header for such platforms? </p> <p> Thanks </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1064 Trac 1.4.3 Daniel James Mon, 25 Jun 2007 18:43:59 GMT status, type, milestone changed; version set https://svn.boost.org/trac10/ticket/1064#comment:1 https://svn.boost.org/trac10/ticket/1064#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> <li><strong>version</strong> → <span class="trac-field-new">release 1.34.0</span> </li> <li><strong>type</strong> <span class="trac-field-old">Support Requests</span> → <span class="trac-field-new">Bugs</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.35.0</span> </li> </ul> <p> Yes, but it's too late for 1.34.1. But I'll fix it as soon as possible. The errno check is actually pointless on Windows platforms so you can safely remove it. On other platforms, it's a little paranoid but it might be required when hashing infinity. </p> <p> The version in CVS HEAD doesn't use errno because it uses fpclassify or _fpclass to check for infinity first. Although I'm not sure when that's going to be released. </p> Ticket Daniel James Fri, 24 Aug 2007 01:11:33 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/1064#comment:2 https://svn.boost.org/trac10/ticket/1064#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/38877" title="Remove the errno check when hashing floating point numbers. It's not ...">[38877]</a>) Remove the errno check when hashing floating point numbers. It's not really needed and was causing problems on the Microsoft Windows Smarthone Edition platform. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/1064" title="#1064: Bugs: problem on platforms with no errno.h header file (closed: fixed)">#1064</a>. </p> Ticket