[Pkg-octave-devel] Bug#300576: octaviz: FTBFS on 64 bit arches: reinterpret_cast from `vtkObjectBase*' to `unsigned int' loses precision
Kurt Roeckx
Kurt Roeckx <kurt@roeckx.be>, 300576@bugs.debian.org
Sun, 20 Mar 2005 15:53:42 +0100
Package: octaviz
Version: 0.4.0-10
Severity: important
Hi,
Your package is failing to build on all 64 bit arches (alpha,
ia64, amd64) with the following error:
Building object file octaviz.o...
/build/buildd/octaviz-0.4.0/Common/octaviz.cc: In constructor `vtk_object::vtk_object(vtkObjectBase*, bool)':
/build/buildd/octaviz-0.4.0/Common/octaviz.cc:117: error: reinterpret_cast from `vtkObjectBase*' to `unsigned int' loses precision
/build/buildd/octaviz-0.4.0/Common/octaviz.cc: In copy constructor `vtk_object::vtk_object(const vtk_object&)':
/build/buildd/octaviz-0.4.0/Common/octaviz.cc:152: error: reinterpret_cast from `vtkObjectBase*' to `unsigned int' loses precision
/build/buildd/octaviz-0.4.0/Common/octaviz.cc: In destructor `virtual vtk_object::~vtk_object()':
/build/buildd/octaviz-0.4.0/Common/octaviz.cc:165: error: reinterpret_cast from `vtkObjectBase*' to `unsigned int' loses precision
/build/buildd/octaviz-0.4.0/Common/octaviz.cc: In member function `virtual unsigned int vtk_object::uint_value(bool, bool) const':
/build/buildd/octaviz-0.4.0/Common/octaviz.cc:183: error: reinterpret_cast from `vtkObjectBase*' to `unsigned int' loses precision
make[4]: *** [octaviz.o] Error 1
Casting a pointer to an integer is going to cause problems on 64
bit arches.
Kurt