Skip to contentSkip to conversation

random.c:183:3: error: left shift count >= width of type [-Werror]

DISCUSSION Toralf Förster 2 participants 2 messages May 22, 2013

lore
Share & tools
lore
#0 lore raw

At a 32 bit stable Gentoo Linux I get with current git tree :

CC child.o
random.c: In function ‘rand64’:
random.c:183:3: error: left shift count >= width of type [-Werror]
cc1: all warnings being treated as errors
make: *** [random.o] Error 1

Signature · 3 lines
MfG/Sincerely
Toralf Förster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3
#1 lore raw
Quoted 7 lines · Toralf Förster

At a 32 bit stable Gentoo Linux I get with current git tree :

CC child.o
random.c: In function ‘rand64’:
random.c:183:3: error: left shift count >= width of type [-Werror]
cc1: all warnings being treated as errors
make: *** [random.o] Error 1

I knew I forgot to test something. Thanks, fixed.

Dave