Opened 15 years ago
Closed 15 years ago
#1064 closed Bugs (fixed)
problem on platforms with no errno.h header file
Reported by: | anonymous | Owned by: | Daniel James |
---|---|---|---|
Milestone: | Boost 1.35.0 | Component: | hash |
Version: | Boost 1.34.0 | Severity: | Showstopper |
Keywords: | Cc: |
Description
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).
Is it possible to get rid of inclusion of this header for such platforms?
Thanks
Change History (2)
comment:1 by , 15 years ago
Milestone: | To Be Determined → Boost 1.35.0 |
---|---|
Status: | new → assigned |
Type: | Support Requests → Bugs |
Version: | → release 1.34.0 |
comment:2 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
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.
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.