On Tue, Jun 4, 2013 at 7:32 AM, Aaron M. Ucko <u...@debian.org> wrote: > Source: choreonoid > Version: 1.1.0+dfsg-3 > Severity: serious > Justification: fails to build from source > > Builds of choreonoid on 64-bit non-x86 architectures such as ia64 have > been failing: > > > /«BUILDDIR»/choreonoid-1.1.0+dfsg/src/Collision/Opcode/OPC_AABBTree.cpp:295:31: > error: cast from 'Opcode::AABBTreeNode*' to 'udword {aka unsigned int}' > loses precision [-fpermissive] > > /«BUILDDIR»/choreonoid-1.1.0+dfsg/src/Collision/Opcode/OPC_AABBTree.cpp:309:18: > error: cast from 'Opcode::AABBTreeNode*' to 'udword {aka unsigned int}' > loses precision [-fpermissive] > > These errors appear to stem from OPC_AABBTree.h's definition of > EXWORD, which doesn't acknowledge such architectures: > > #ifdef __x86_64 > #define EXWORD uqword > #else > #define EXWORD udword > #endif > > Please try substituting uintptr_t, from <stdint.h>, and check for > other affected code. > > Thanks!
Thanks for reporting this. I pushed a fix in 8e1955fb6e7905efc1230a6f30564d7fd53d35c0. http://anonscm.debian.org/gitweb/?p=debian-science/packages/choreonoid.git;a=blob;f=debian/patches/0007-Fix-cast-from-pointer-to-udword-losing-precision.patch;h=a9f90f03060b95b88acbd6ccbf7cda0eb9e1b81c;hb=8e1955fb6e7905efc1230a6f30564d7fd53d35c0 -- Thomas Moulard(ムラー トマ) -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org