View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000617VTK(No Category)public2004-02-20 15:272005-11-17 16:20
ReporterAllen Zhao 
Assigned ToBrad King 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000617: VTK does not compile with MIPSpro 7.4
DescriptionIn the ccmake, the C++ std feature is turned on, otherwise, the compilation will fail much earlier.

Partial output:


cc-1324 CC: ERROR File = /User0/allen/src/VTK-4.2.2-irix/IO/vtkBMPReader.cxx, Line = 507
  More than one operator "+" matches the specified operands.

            Built-in operator "arithmetic + arithmetic" has an overloading
                      ambiguity.
            Function symbol function
                      "std::fpos<std::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 *,
                    unsigned int *)"

cc-1324 CC: ERROR File = /User0/allen/src/VTK-4.2.2-irix/IO/vtkBMPReader.cxx, Line = 511
  More than one operator "+" matches the specified operands.

            Built-in operator "arithmetic + arithmetic" has an overloading
                      ambiguity.
            Function symbol function
                      "std::fpos<std::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() + streamSkip1, ios::beg);
                                                      ^
          detected during instantiation of "void
                    vtkBMPReaderUpdate2(vtkBMPReader *, vtkImageData *,
                    unsigned int *)"

cc-1324 CC: ERROR File = /User0/allen/src/VTK-4.2.2-irix/IO/vtkBMPReader.cxx, Line = 507
  More than one operator "+" matches the specified operands.

            Built-in operator "arithmetic + arithmetic" has an overloading
                      ambiguity.
            Function symbol function
                      "std::fpos<std::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 *, int *)"


cc-1324 CC: ERROR File = /User0/allen/src/VTK-4.2.2-irix/IO/vtkBMPReader.cxx, Line = 511
  More than one operator "+" matches the specified operands.

            Built-in operator "arithmetic + arithmetic" has an overloading
                      ambiguity.
            Function symbol function
                      "std::fpos<std::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() + streamSkip1, ios::beg);
                                                      ^
          detected during instantiation of "void
                    vtkBMPReaderUpdate2(vtkBMPReader *, vtkImageData *, int *)"


cc-1324 CC: ERROR File = /User0/allen/src/VTK-4.2.2-irix/IO/vtkBMPReader.cxx, Line = 507
  More than one operator "+" matches the specified operands.

            Built-in operator "arithmetic + arithmetic" has an overloading
                      ambiguity.
            Function symbol function
                      "std::fpos<std::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 *, short
                    *)"

cc-1324 CC: ERROR File = /User0/allen/src/VTK-4.2.2-irix/IO/vtkBMPReader.cxx, Line = 511
  More than one operator "+" matches the specified operands.

            Built-in operator "arithmetic + arithmetic" has an overloading
                      ambiguity.
            Function symbol function
                      "std::fpos<std::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() + streamSkip1, ios::beg);
                                                      ^
          detected during instantiation of "void
                    vtkBMPReaderUpdate2(vtkBMPReader *, vtkImageData *, short
                    *)"

cc-1324 CC: ERROR File = /User0/allen/src/VTK-4.2.2-irix/IO/vtkBMPReader.cxx, Line = 507
  More than one operator "+" matches the specified operands.

            Built-in operator "arithmetic + arithmetic" has an overloading
                      ambiguity.
            Function symbol function
                      "std::fpos<std::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 *,
                    unsigned short *)"

cc-1324 CC: ERROR File = /User0/allen/src/VTK-4.2.2-irix/IO/vtkBMPReader.cxx, Line = 511
  More than one operator "+" matches the specified operands.

            Built-in operator "arithmetic + arithmetic" has an overloading
                      ambiguity.
            Function symbol function
                      "std::fpos<std::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() + streamSkip1, ios::beg);
                                                      ^
          detected during instantiation of "void
                    vtkBMPReaderUpdate2(vtkBMPReader *, vtkImageData *,
                    unsigned short *)"

cc-1324 CC: ERROR File = /User0/allen/src/VTK-4.2.2-irix/IO/vtkBMPReader.cxx, Line = 507
  More than one operator "+" matches the specified operands.

            Built-in operator "arithmetic + arithmetic" has an overloading
                      ambiguity.
            Function symbol function
                      "std::fpos<std::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 *,
                    unsigned char *)"

cc-1324 CC: ERROR File = /User0/allen/src/VTK-4.2.2-irix/IO/vtkBMPReader.cxx, Line = 511
  More than one operator "+" matches the specified operands.

            Built-in operator "arithmetic + arithmetic" has an overloading
                      ambiguity.
            Function symbol function
                      "std::fpos<std::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() + streamSkip1, ios::beg);
                                                      ^
          detected during instantiation of "void
                    vtkBMPReaderUpdate2(vtkBMPReader *, vtkImageData *,
                    unsigned char *)"

cc-1324 CC: ERROR File = /User0/allen/src/VTK-4.2.2-irix/IO/vtkBMPReader.cxx, Line = 507
  More than one operator "+" matches the specified operands.

            Built-in operator "arithmetic + arithmetic" has an overloading
                      ambiguity.
            Function symbol function
                      "std::fpos<std::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 *, char
                    *)"

cc-1324 CC: ERROR File = /User0/allen/src/VTK-4.2.2-irix/IO/vtkBMPReader.cxx, Line = 511
  More than one operator "+" matches the specified operands.

            Built-in operator "arithmetic + arithmetic" has an overloading
                      ambiguity.
            Function symbol function
                      "std::fpos<std::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() + streamSkip1, ios::beg);
                                                      ^
          detected during instantiation of "void
                    vtkBMPReaderUpdate2(vtkBMPReader *, vtkImageData *, char
                    *)"

20 errors detected in the compilation of "/User0/allen/src/VTK-4.2.2-irix/IO/vtkBMPReader.cxx".
make[3]: *** [vtkBMPReader.o] Error 2
make[3]: Leaving directory `/User0/allen/src/VTK-4.2.2-irix/IO'
make[2]: *** [default_target] Error 2
make[2]: Leaving directory `/User0/allen/src/VTK-4.2.2-irix/IO'
make[1]: *** [default_target_IO] Error 2
make[1]: Leaving directory `/User0/allen/src/VTK-4.2.2-irix'
make: *** [default_target] Error 2
TagsNo tags attached.
Project
Type
Attached Files

 Relationships

  Notes
(0000697)
Brad King (developer)
2004-02-23 13:25

What version of SGI CC is this? Run "CC -version" to find out.
(0000699)
Allen Zhao (reporter)
2004-02-23 15:56

MIPSpro Compilers: Version 7.41

I could try to use 7.3.1.3 on the 32-bit IRIX box, but apparently I have to install gcc first to get cmake built. So I used IRIX64 box to build the -n32 version. The cmake is the binary built from your website.
(0000701)
Brad King (developer)
2004-02-24 12:23

VTK 4.2 was released before anyone ever tried building with the 7.4 compiler. The current CVS version might have some fixes. MIPSpro 7.4 is currently not tested nightly, so it is likely to have build failures. See here for the list of nightly builds:

http://public.kitware.com/dashboard.php?name=vtk [^]

The only reason the compiler is not supported is because no one has volunteered to donate computing time to perform the build on that platform every night.

If you are able and willing to donate 2-3 hours each night on one machine to test this platform, we will be able to keep VTK building on it. Please email me privately for instructions if you are interested.

I'm changing this bug entry to a development tree bug and the summary to indicate that VTK does not currently build with the MIPSpro7.4 compiler.
(0003267)
Brad King (developer)
2005-11-17 16:20

This compiler is now tested nightly on the dashboard. I'm closing this bug.

 Issue History
Date Modified Username Field Change
2011-06-16 13:11 Zack Galbreath Category => (No Category)


Copyright © 2000 - 2018 MantisBT Team