Trivial compilation bug

John Biddiscombe j.biddiscombe at rl.ac.uk
Thu Sep 30 10:55:32 EDT 1999


Borland (C++Builder 4.0 Build 14.11) compiler

In nightly download from Wed/Thurs I got this ...

[C++ Error] vtkImageReader.cpp(565): E2015 Ambiguity between
'std::fpos<std::mbstate_t>::operator -(int) const' and
'std::fpos<std::mbstate_t>::operator -(long) const'.


which is easily fixed by adding an (int) after the minus sign as below.
return this->File->tellg() -
(int)this->DataIncrements[this->GetFileDimensionality()];


Not sure I should report this as a bug, but...


John B




-----------------------------------------------------------------------------
This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.
-----------------------------------------------------------------------------





More information about the vtkusers mailing list