View Single Post
  #3 (permalink)  
Old 02-07-2006
kvogel kvogel is offline
Registered User
 
Name: Karl Vogel
Organization: SEAGHA cv
Project: Internal projects
 
Join Date: Feb 2006
Posts: 10
Tru64 patches for Ice V3.0.0 #3

This patch fixes errors like this:

Code:
cxx: Error: /usr/lib/cmplrs/cxx/V6.5-014/include/cxx/algorithm.cc, line 103:
          no operator "!=" matches these operands
            operand types are: DictIndex != const DictIndex
          detected during instantiation of "InputIterator
                    std::find(InputIterator, InputIterator, const T &) [with
                    InputIterator=DictIndex *, T=DictIndex]"
    while (first != last && *first != value)
-----------------------------------^
cxx: Info: 1 error detected in the compilation of "Main.cpp".
The Standard Template class of the Compaq C++ compiler apparently needs an explicit definition of a != operator, if you use != on the class/struct.

Interesting note:
The STL of Compaq C++ is based on the STL from Rogue Wave.

Rogue Wave has recently released their STL as open source (and has been picked up by the Apache Foundation). I'm not sure if the current release of RW STL (or Apache stdcxx) still requires this.. but might be worth checking out.

http://www.roguewave.com/standard-library/
http://incubator.apache.org/stdcxx/
Attached Files
File Type: txt tru64-ice-operator.patch.txt (1,021 Bytes, 75 views)
__________________
Karl Vogel
Seagha CV
Reply With Quote