compiling error in vtkImageReader and vtkBMPReader with gcc 3.4
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
Hi,
I'a new user of itk/vtk.
I've just downloaded vtk and tried to compile it with gcc 3.4.
I got few compile errors, always du to the same problem : g++ complains that a call to operator+ is ambiguous.
I solved it by casting the second operand (usually a long int) to std::streampos.
In IO/vtkImageReader.cxx : line 369 and 379 In IO/vtkBMPReader.cxx : line 507 and 511