forked from qemu/qemu
-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
FAILED: libqemuutil.a.p/qobject_block-qdict.c.o
cc -Ilibqemuutil.a.p -I. -I.. -Itrace -Iqapi -Iui/shader -I/usr/include/glib-2.0 -I/usr/li
b/x86_64-linux-gnu/glib-2.0/include -fdiagnostics-color=auto -pipe -Wall -Winvalid-pch -Werror -std=gnu11 -O2 -g -isystem /home/deepin/thead/qemu/linux-headers -isystem linux-heade
rs -iquote . -iquote /home/deepin/thead/qemu -iquote /home/deepin/thead/qemu/include -iquote /home/deepin/thead/qemu/disas/libvixl -iquote /home/deepin/thead/qemu/tcg/i386 -pthread
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -m64 -mcx16 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D
_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wmissing-
prototypes -fno-strict-aliasing -fno-common -fwrapv -Wold-style-declaration -Wold-style-definition -Wtype-limits -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -We
mpty-body -Wnested-externs -Wendif-labels -Wexpansion-to-defined -Wimplicit-fallthrough=2
-Wno-missing-include-dirs -Wno-shift-negative-value -Wno-psabi -fstack-protector-strong -M
D -MQ libqemuutil.a.p/qobject_block-qdict.c.o -MF libqemuutil.a.p/qobject_block-qdict.c.o.
d -o libqemuutil.a.p/qobject_block-qdict.c.o -c ../qobject/block-qdict.c
In file included from /home/deepin/thead/qemu/include/qapi/qmp/qdict.h:16,
from /home/deepin/thead/qemu/include/block/qdict.h:13,
from ../qobject/block-qdict.c:11:
/home/deepin/thead/qemu/include/qapi/qmp/qobject.h: In function 'qdict_array_split':
/home/deepin/thead/qemu/include/qapi/qmp/qobject.h:49:17: error: 'subqdict' may be used un
initialized [-Werror=maybe-uninitialized]
49 | typeof(obj) _obj = (obj); \
| ^~~~
../qobject/block-qdict.c:227:16: note: 'subqdict' declared here
227 | QDict *subqdict;
| ^~~~~~~~
cc1: all warnings being treated as errors
Sakura286
Metadata
Metadata
Assignees
Labels
No labels