Hi i am trying to compile this C++ code using the aCC compiler version 3.33 on HP-UX ver 11. This same code is working on Solaris and AIX.
The code snippet is:
typedef typename std::list<Sink>::iterator ListSinkIterator;
for(ListSinkIterator i = m_Sinks.begin(); i != m_Sinks.end(); i++) {
Error is:
Error 537: "../../../interface/shared/support/comsupport/SingleConPointImpl.h", line 565 # Cannot create a 'iterator' object; class iterator has only been seen as an incomplete declaration. for(ListSinkIterator i = m_Sinks.begin(); i != m_Sinks.end(); i++) {
Would appreciate any help on this.
The code snippet is:
typedef typename std::list<Sink>::iterator ListSinkIterator;
for(ListSinkIterator i = m_Sinks.begin(); i != m_Sinks.end(); i++) {
Error is:
Error 537: "../../../interface/shared/support/comsupport/SingleConPointImpl.h", line 565 # Cannot create a 'iterator' object; class iterator has only been seen as an incomplete declaration. for(ListSinkIterator i = m_Sinks.begin(); i != m_Sinks.end(); i++) {
Would appreciate any help on this.