jeff1@garfield.mun.edu (Jeff Sparkes) (10/21/88)
Using gcc 1.30 on a vax, the following program (cut down from X.V11R2/server/dix/window.c) get a warning from the assembler (/bin/as). It happens with or without the optimizer. typedef struct _PaddingInfo { int scanlinePad; int bitmapPadLog2; } PaddingInfo; extern PaddingInfo PixmapWidthPaddingInfo[]; static void MakeRootCursor() { unsigned char *srcbits, *mskbits; int i; for (i=0; i< ( (((32) + PixmapWidthPaddingInfo[ 1].scanlinePad) >> PixmapWidthPaddingInfo[ 1].bitmapPadLog2) << 2)*16; i++) { srcbits[i] = mskbits[i] = 0xff; } } -- Jeff Sparkes jeff1@garfield.mun.edu .and the cows burned on into the night. -Tom Wolfe, The Right Stuff