Status: New
Owner: ----
Labels: Type-Defect FoundBy-Community
New issue 292 by
shinc...@gmail.com: Alembic 1.1.0 uses big endian to hash
on Windows/x86amd64.
http://code.google.com/p/alembic/issues/detail?id=292
What steps will reproduce the problem?
1. Compute the Murmur3 hash
What is the expected output? What do you see instead?
Shouldn't enter big endian code path.
The hash code is different from 1.0.5 for the same data on Windows.
What version of the product are you using? On what operating system?
Alembic 1.1.0 on Windows.
Please provide any additional information below.
In Alembic/Util/Murmur3.cpp, "#ifdef BOOST_BIG_ENDIAN" is replaced
with "#if __BYTE_ORDER == __BIG_ENDIAN || BYTE_ORDER == BIG_ENDIAN
".
On windows, all the macros are undefined. The result of comparison between
undefined macros is true.