[vtkusers] upgrading to 4.0 - SGI IRIX problem..

K.R.Subramanian krs at cs.uncc.edu
Wed May 29 23:14:52 EDT 2002


I am getting the following IO related errors during the build: this is the nightly version

from 5/29/02.  The same version built on linux without any problems.. anyone seen this,
seems to relate to inheritance. Many similar errors from this particular file. In teh
configuration, I did yes "ON" to using the standard library.

Thanks.

    -- krs

CC -g -LANG:std -DvtkIO_EXPORTS  -I/home/krs/src/vtk052902/IO -I/home/krs/src/vt
k052902/Rendering -I/home/krs/src/vtk052902/Hybrid -I/home/krs/src/vtk052902/Pat
ented -I/home/krs/src/vtk052902 -I/home/krs/src/vtk052902/Common -I/home/krs/src
/vtk052902/Filtering -I/home/krs/src/vtk052902/Imaging -I/home/krs/src/vtk052902
/Graphics -I/home/krs/src/vtk052902/IO -I/home/krs/src/vtk052902/Utilities/zlib
-I/home/krs/src/vtk052902/Utilities/zlib -I/home/krs/src/vtk052902/Utilities/png
 -I/home/krs/src/vtk052902/Utilities/png -I/home/krs/src/vtk052902/Utilities/jpe
g -I/home/krs/src/vtk052902/Utilities/jpeg -I/home/krs/src/vtk052902/Utilities/t
iff -I/home/krs/src/vtk052902/Utilities/tiff -I/home/krs/src/vtk052902/Utilities
/expat -I/home/krs/src/vtk052902/Utilities/expat -I/home/krs/src/vtk052902/Commo
n/Testing/Cxx -I/afs/uncc/cs/irix/irixlinks/include -I\ /afs/uncc/cs/irix/irixli
nks/include/python1.5   -c /home/krs/src/vtk052902/IO/vtkBMPReader.cxx -o vtkBMP
Reader.o
cc-1324 CC: ERROR File = /home/krs/src/vtk052902/IO/vtkBMPReader.cxx, Line = 437
  More than one operator "+" matches the specified operands.

            Built-in operator "arithmetic + arithmetic" has an overloading
                      ambiguity.
            Function symbol function
                      "std::fpos<mbstate_t>::operator+(std::streamoff)" is
                      ambiguous by inheritance.
            The operand types are:  std::basic_istream<char,
                      std::char_traits<char>>::pos_type + long.
        self->GetFile()->seekg(self->GetFile()->tellg() + streamSkip0, ios::beg)
;
                                                        ^
          detected during instantiation of "void
                    vtkBMPReaderUpdate2(vtkBMPReader *, vtkImageData *, double
                    *)"


--
K.R.Subramanian                        Phone: (704) 687-4872
Department of Computer Science         FAX:   (704) 687-4893
UNC Charlotte, CARC 311                Email: krs at cs.uncc.edu
Charlotte, NC 28223-0001               Web: http://www.cs.uncc.edu/~krs






More information about the vtkusers mailing list