VTK does not compile with MIPSpro 7.4
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
In 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