I presumed the problem had gone with more recent Solaris compilers, so I'm not sure why Brad is seeing it. David On Wed, 23 Aug 2006, Peter W. Draper wrote: > On Wed, 23 Aug 2006, David Berry wrote: > > > I fell over it on Solaris 6 (still supported by the XIMAGE people at GSFC > > who use AST). > > My goodness, so maybe it's really an old problem. The compiler I used is: > > > cc -V > > cc: Sun WorkShop 6 update 2 C 5.3 Patch 111679-08 2002/05/09 > > and the RAL one is: > > > cc -V > > cc: Sun WorkShop 6 update 2 C 5.3 2001/05/15 > > which are both a few years old. > > > > On Wed, 23 Aug 2006, Peter W. Draper wrote: > > > > > On Wed, 23 Aug 2006, David Berry wrote: > > > > > > > Brad, > > > > I had precisely this problem recently with AST on Solaris. The > > > > answer was to cast the (void *) pointer to (char *) before doing the > > > > arithmetic. I've made this change to hdsstructwrite.c and committed > > > > it both to the trunk and to the keoe branch. > > > > > > Must be a recent (last few years) change to the compiler, a Solaris 8 > > > build worked yesterday, as does the nightly build. > > > > > > > -- > Dr. Peter W. Draper, http://star-www.dur.ac.uk/~pdraper >