[vtkusers] error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second
Martin Baumann
mailsgetlost at web.de
Sat Nov 12 17:59:03 EST 2005
Hi,
I have a problem compiling VTK4.2 on a Suse 10 system.
I get the following errors:
Building object file vtkWarpTo.o...
Building object file vtkWarpVector.o...
Building object file vtkWindowedSincPolyDataFilter.o...
Building object file vtkGraphicsInstantiator.o...
Building shared library
/home/martin/local/bin/VTK/VTK4.2/bin/libvtkGraphics.so...
/home/martin/local/bin/VTK/VTK4.2/IO: building default_target
Building dependencies. cmake.depends...
Building object file vtkBMPReader.o...
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx: In function ‘void
vtkBMPReaderUpdate2(vtkBMPReader*, vtkImageData*, OT*) [with OT = double]’:
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:545: instantiated
from here
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:507: error: ISO
C++ says that these are ambiguous, even though the worst conversion for
the first is better than the worst conversion for the second:
/usr/include/c++/4.0.2/bits/postypes.h:175: note: candidate 1:
std::fpos<_StateT> std::fpos<_StateT>::operator+(std::streamoff) const
[with _StateT = mbstate_t]
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:507: note:
candidate 2: operator+(std::streamoff, long int) <built-in>
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:545: instantiated
from here
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:511: error: ISO
C++ says that these are ambiguous, even though the worst conversion for
the first is better than the worst conversion for the second:
/usr/include/c++/4.0.2/bits/postypes.h:175: note: candidate 1:
std::fpos<_StateT> std::fpos<_StateT>::operator+(std::streamoff) const
[with _StateT = mbstate_t]
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:511: note:
candidate 2: operator+(std::streamoff, long int) <built-in>
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx: In function ‘void
vtkBMPReaderUpdate2(vtkBMPReader*, vtkImageData*, OT*) [with OT = float]’:
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:548: instantiated
from here
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:507: error: ISO
C++ says that these are ambiguous, even though the worst conversion for
the first is better than the worst conversion for the second:
/usr/include/c++/4.0.2/bits/postypes.h:175: note: candidate 1:
std::fpos<_StateT> std::fpos<_StateT>::operator+(std::streamoff) const
[with _StateT = mbstate_t]
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:507: note:
candidate 2: operator+(std::streamoff, long int) <built-in>
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:511: error: ISO
C++ says that these are ambiguous, even though the worst conversion for
the first is better than the worst conversion for the second:
/usr/include/c++/4.0.2/bits/postypes.h:175: note: candidate 1:
std::fpos<_StateT> std::fpos<_StateT>::operator+(std::streamoff) const
[with _StateT = mbstate_t]
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:511: note:
candidate 2: operator+(std::streamoff, long int) <built-in>
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx: In function ‘void
vtkBMPReaderUpdate2(vtkBMPReader*, vtkImageData*, OT*) [with OT = long
unsigned int]’:
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:551: instantiated
from here
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:507: error: ISO
C++ says that these are ambiguous, even though the worst conversion for
the first is better than the worst conversion for the second:
/usr/include/c++/4.0.2/bits/postypes.h:175: note: candidate 1:
std::fpos<_StateT> std::fpos<_StateT>::operator+(std::streamoff) const
[with _StateT = mbstate_t]
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:507: note:
candidate 2: operator+(std::streamoff, long int) <built-in>
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:511: error: ISO
C++ says that these are ambiguous, even though the worst conversion for
the first is better than the worst conversion for the second:
/usr/include/c++/4.0.2/bits/postypes.h:175: note: candidate 1:
std::fpos<_StateT> std::fpos<_StateT>::operator+(std::streamoff) const
[with _StateT = mbstate_t]
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:511: note:
candidate 2: operator+(std::streamoff, long int) <built-in>
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx: In function ‘void
vtkBMPReaderUpdate2(vtkBMPReader*, vtkImageData*, OT*) [with OT = long
int]’:
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:554: instantiated
from here
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:507: error: ISO
C++ says that these are ambiguous, even though the worst conversion for
the first is better than the worst conversion for the second:
/usr/include/c++/4.0.2/bits/postypes.h:175: note: candidate 1:
std::fpos<_StateT> std::fpos<_StateT>::operator+(std::streamoff) const
[with _StateT = mbstate_t]
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:507: note:
candidate 2: operator+(std::streamoff, long int) <built-in>
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:511: error: ISO
C++ says that these are ambiguous, even though the worst conversion for
the first is better than the worst conversion for the second:
/usr/include/c++/4.0.2/bits/postypes.h:175: note: candidate 1:
std::fpos<_StateT> std::fpos<_StateT>::operator+(std::streamoff) const
[with _StateT = mbstate_t]
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:511: note:
candidate 2: operator+(std::streamoff, long int) <built-in>
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx: In function ‘void
vtkBMPReaderUpdate2(vtkBMPReader*, vtkImageData*, OT*) [with OT =
unsigned int]’:
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:557: instantiated
from here
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:507: error: ISO
C++ says that these are ambiguous, even though the worst conversion for
the first is better than the worst conversion for the second:
/usr/include/c++/4.0.2/bits/postypes.h:175: note: candidate 1:
std::fpos<_StateT> std::fpos<_StateT>::operator+(std::streamoff) const
[with _StateT = mbstate_t]
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:507: note:
candidate 2: operator+(std::streamoff, long int) <built-in>
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:511: error: ISO
C++ says that these are ambiguous, even though the worst conversion for
the first is better than the worst conversion for the second:
/usr/include/c++/4.0.2/bits/postypes.h:175: note: candidate 1:
std::fpos<_StateT> std::fpos<_StateT>::operator+(std::streamoff) const
[with _StateT = mbstate_t]
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:511: note:
candidate 2: operator+(std::streamoff, long int) <built-in>
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx: In function ‘void
vtkBMPReaderUpdate2(vtkBMPReader*, vtkImageData*, OT*) [with OT = int]’:
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:560: instantiated
from here
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:507: error: ISO
C++ says that these are ambiguous, even though the worst conversion for
the first is better than the worst conversion for the second:
/usr/include/c++/4.0.2/bits/postypes.h:175: note: candidate 1:
std::fpos<_StateT> std::fpos<_StateT>::operator+(std::streamoff) const
[with _StateT = mbstate_t]
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:507: note:
candidate 2: operator+(std::streamoff, long int) <built-in>
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:511: error: ISO
C++ says that these are ambiguous, even though the worst conversion for
the first is better than the worst conversion for the second:
/usr/include/c++/4.0.2/bits/postypes.h:175: note: candidate 1:
std::fpos<_StateT> std::fpos<_StateT>::operator+(std::streamoff) const
[with _StateT = mbstate_t]
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:511: note:
candidate 2: operator+(std::streamoff, long int) <built-in>
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx: In function ‘void
vtkBMPReaderUpdate2(vtkBMPReader*, vtkImageData*, OT*) [with OT = short
int]’:
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:563: instantiated
from here
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:507: error: ISO
C++ says that these are ambiguous, even though the worst conversion for
the first is better than the worst conversion for the second:
/usr/include/c++/4.0.2/bits/postypes.h:175: note: candidate 1:
std::fpos<_StateT> std::fpos<_StateT>::operator+(std::streamoff) const
[with _StateT = mbstate_t]
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:507: note:
candidate 2: operator+(std::streamoff, long int) <built-in>
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:511: error: ISO
C++ says that these are ambiguous, even though the worst conversion for
the first is better than the worst conversion for the second:
/usr/include/c++/4.0.2/bits/postypes.h:175: note: candidate 1:
std::fpos<_StateT> std::fpos<_StateT>::operator+(std::streamoff) const
[with _StateT = mbstate_t]
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:511: note:
candidate 2: operator+(std::streamoff, long int) <built-in>
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx: In function ‘void
vtkBMPReaderUpdate2(vtkBMPReader*, vtkImageData*, OT*) [with OT = short
unsigned int]’:
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:566: instantiated
from here
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:507: error: ISO
C++ says that these are ambiguous, even though the worst conversion for
the first is better than the worst conversion for the second:
/usr/include/c++/4.0.2/bits/postypes.h:175: note: candidate 1:
std::fpos<_StateT> std::fpos<_StateT>::operator+(std::streamoff) const
[with _StateT = mbstate_t]
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:507: note:
candidate 2: operator+(std::streamoff, long int) <built-in>
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:511: error: ISO
C++ says that these are ambiguous, even though the worst conversion for
the first is better than the worst conversion for the second:
/usr/include/c++/4.0.2/bits/postypes.h:175: note: candidate 1:
std::fpos<_StateT> std::fpos<_StateT>::operator+(std::streamoff) const
[with _StateT = mbstate_t]
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:511: note:
candidate 2: operator+(std::streamoff, long int) <built-in>
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx: In function ‘void
vtkBMPReaderUpdate2(vtkBMPReader*, vtkImageData*, OT*) [with OT =
unsigned char]’:
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:569: instantiated
from here
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:507: error: ISO
C++ says that these are ambiguous, even though the worst conversion for
the first is better than the worst conversion for the second:
/usr/include/c++/4.0.2/bits/postypes.h:175: note: candidate 1:
std::fpos<_StateT> std::fpos<_StateT>::operator+(std::streamoff) const
[with _StateT = mbstate_t]
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:507: note:
candidate 2: operator+(std::streamoff, long int) <built-in>
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:511: error: ISO
C++ says that these are ambiguous, even though the worst conversion for
the first is better than the worst conversion for the second:
/usr/include/c++/4.0.2/bits/postypes.h:175: note: candidate 1:
std::fpos<_StateT> std::fpos<_StateT>::operator+(std::streamoff) const
[with _StateT = mbstate_t]
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:511: note:
candidate 2: operator+(std::streamoff, long int) <built-in>
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx: In function ‘void
vtkBMPReaderUpdate2(vtkBMPReader*, vtkImageData*, OT*) [with OT = char]’:
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:572: instantiated
from here
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:507: error: ISO
C++ says that these are ambiguous, even though the worst conversion for
the first is better than the worst conversion for the second:
/usr/include/c++/4.0.2/bits/postypes.h:175: note: candidate 1:
std::fpos<_StateT> std::fpos<_StateT>::operator+(std::streamoff) const
[with _StateT = mbstate_t]
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:507: note:
candidate 2: operator+(std::streamoff, long int) <built-in>
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:511: error: ISO
C++ says that these are ambiguous, even though the worst conversion for
the first is better than the worst conversion for the second:
/usr/include/c++/4.0.2/bits/postypes.h:175: note: candidate 1:
std::fpos<_StateT> std::fpos<_StateT>::operator+(std::streamoff) const
[with _StateT = mbstate_t]
/home/martin/local/src/VTK/VTK4.2/IO/vtkBMPReader.cxx:511: note:
candidate 2: operator+(std::streamoff, long int) <built-in>
make[3]: *** [vtkBMPReader.o] Fehler 1
make[2]: *** [default_target] Fehler 2
make[1]: *** [default_target_IO] Fehler 2
make: *** [default_target] Fehler 2
Does anyone know what is wrong?
Thanks, Martin
More information about the vtkusers
mailing list