Removed stdint check on boost cstdint.hpp

   1771   0   0
User Avatar
Member
3 posts
Joined: 12月 2013
Offline
Compiling OpenVDB houdini toolkit i noticed i receive an error about multi deceleration of int values rising from cstdint.hpp.
checking against official boost release i noticed Houdini removed(?) code to test that:
#if defined(BOOST_HAS_STDINT_H) \
&& (!defined(__GLIBC__) \
|| defined(__GLIBC_HAVE_LONG_LONG) \
|| (defined(__GLIBC__) && ((__GLIBC__ > 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 17)))))
putting this code back allowed me to compile against the houdini supplied toolkit.
I guess there is a good reason from Houdini guys to remove that check, i just wanted to note that it makes OpenVDB hurt

All the best,
Amit
  • Quick Links