Hartmut Schirmer wrote:
On Sun, 4 Mar 2001, Mariano Alvarez Fernandez wrote:
Nevertheless the real bug is that: 1L << 32 == 1 !!!!!! This is what breaks bccbgi (and even modetest) in 32 bpp mode.
Yes, strange. Andris, is this a compiler bug or just undefined behaviour ?
AFAIK, it's a standard C feature to have shifts of this kind "undefined".
Peter