Skip to contentSkip to conversation

build errors

Qemu-devel Robert Reif 1 participant 1 message Jun 16, 2009

lore
Share & tools
lore
#0 lore raw

I get about 2 dozen of this type of error with a make -k

CC block/cow.o
cc1: warnings being treated as errors
block/cow.c: In function ‘cow_create’:
block/cow.c:251: error: ignoring return value of ‘write’, declared with attribute warn_unused_result block/cow.c:253: error: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result
make: *** [block/cow.o] Error 1

$ gcc --version
gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3