ia64 r255472: /usr/src/sys/kern/uipc_syscalls.c:2196: warning: obj_size may be used uninitialized in this function

From: Anton Shterenlikht <mexas_at_bris.ac.uk>
Date: Thu, 12 Sep 2013 09:37:09 +0100 (BST)
ia64 r255472 buildkernel gives this error:

cc  -c -O -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ia64/libuwx/src -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000  -mconstant-gp -ffixed-r13 -mfixed-range=f32-f127 -fpic -ffreestanding -Werror  /usr/src/sys/kern/uipc_syscalls.c
cc1: warnings being treated as errors
/usr/src/sys/kern/uipc_syscalls.c: In function 'vn_sendfile':
/usr/src/sys/kern/uipc_syscalls.c:2196: warning: 'obj_size' may be used uninitialized in this function
/usr/src/sys/kern/uipc_syscalls.c:2192: warning: 'pg' may be used uninitialized in this function
*** [uipc_syscalls.o] Error code 1

Anton
Received on Thu Sep 12 2013 - 06:37:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:41 UTC