I have a piece of code that I'm compiling and running on Unix :-

RWOrderedIterator nextColumn( pRow->getColumns() );

when I compile using Sun_Solaris_11, all compiles and runs ok.

If I use Sun_Solaris_12, then the program compiles ok, without any warnings but crashes on this line.

I put debug messages to make sure this is the problematic line.

Any ideas what this might be please ?

Many thanks,