Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

build failure: ukfs.c:301: warning: 'xfer' may be used uninitialized in this function



dependall ===> sys/rump/fs/lib/libukfs
cc1: warnings being treated as errors
/usr/src/sys/rump/fs/lib/libukfs/ukfs.c: In function 'ukfs_write':
/usr/src/sys/rump/fs/lib/libukfs/ukfs.c:301: warning: 'xfer' may be
used uninitialized in this function

*** Failed target:  ukfs.o
*** Failed command:
/usr/obj/tooldir.NetBSD-4.99.58-x86_64/bin/x86_64--netbsd-gcc -O0 -g
-pipe -mtune=k8 -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wno-sign-compare -Wno-traditional -Wreturn-type
-Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra
-Wno-unused-parameter -std=gnu99 -Werror -pipe -mtune=k8
-fstack-protector -Wstack-protector --param ssp-buffer-size=1
-I/usr/src/sys/rump/librump/rumpkern
-I/usr/obj/sys/rump/librump/rumpkern
-I/usr/src/sys/rump/fs/lib/libukfs -I.
-I/usr/src/sys/rump/fs/lib/libukfs -I. -nostdinc -isystem
/usr/obj/destdir.amd64/usr/include -c
/usr/src/sys/rump/fs/lib/libukfs/ukfs.c -o ukfs.o
*** Error code 1

Stop.

mk.conf:
COMMONFLAGS     = -pipe -mtune=k8

COPTS           += ${COMMONFLAGS}
CFLAGS          += ${COMMONFLAGS}
CXXFLAGS        += ${COMMONFLAGS}

MKPUFFS         = yes

-- 
Best regards,
 Brad


Home | Main Index | Thread Index | Old Index