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!


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to