|
发表于 2018-10-16 08:16:16
只看该作者
22#
遇到如下问题了:
======================================
bootable/recovery-twrp/mkchecker/../edify/expr.h:167:8: note: 'ErrorAbort' has been explicitly marked deprecated here
Value* ErrorAbort(State* state, const char* format, ...)
^
bootable/recovery-twrp/mkchecker/../updater/install.cpp:997:9: warning: 'ErrorAbort' is deprecated [-Wdeprecated-declarations]
ErrorAbort(state, "Failed to get valid ro.product.device");
^
bootable/recovery-twrp/mkchecker/../edify/expr.h:167:8: note: 'ErrorAbort' has been explicitly marked deprecated here
Value* ErrorAbort(State* state, const char* format, ...)
^
bootable/recovery-twrp/mkchecker/../updater/install.cpp:1004:9: warning: 'ErrorAbort' is deprecated [-Wdeprecated-declarations]
ErrorAbort(state, "Device Variant length is less than 3 characters");
^
bootable/recovery-twrp/mkchecker/../edify/expr.h:167:8: note: 'ErrorAbort' has been explicitly marked deprecated here
Value* ErrorAbort(State* state, const char* format, ...)
^
bootable/recovery-twrp/mkchecker/../updater/install.cpp:1031:9: warning: 'ErrorAbort' is deprecated [-Wdeprecated-declarations]
ErrorAbort(state, "Invalid target for update package");
^
bootable/recovery-twrp/mkchecker/../edify/expr.h:167:8: note: 'ErrorAbort' has been explicitly marked deprecated here
Value* ErrorAbort(State* state, const char* format, ...)
^
bootable/recovery-twrp/mkchecker/../updater/install.cpp:1644:19: error: use of undeclared identifier 'wipe_block_device'
int success = wipe_block_device(fd, len);
^
bootable/recovery-twrp/mkchecker/../updater/install.cpp:1694:12: warning: 'ErrorAbort' is deprecated [-Wdeprecated-declarations]
return ErrorAbort(state, "%s() support not present, no libtune2fs", name);
^
bootable/recovery-twrp/mkchecker/../edify/expr.h:167:8: note: 'ErrorAbort' has been explicitly marked deprecated here
Value* ErrorAbort(State* state, const char* format, ...)
^
5 warnings and 1 error generated.
[ 10% 2100/20303] target thumb C: libext2fs <= external/e2fsprogs/lib/ext2fs/csum.c
external/e2fsprogs/lib/ext2fs/csum.c:37:9: warning: unused variable 'offset' [-Wunused-variable]
size_t offset;
^
external/e2fsprogs/lib/ext2fs/csum.c:40:6: warning: variable 'crc' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
if (fs->super->s_feature_ro_compat & EXT4_FEATURE_RO_COMPAT_GDT_CSUM) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/e2fsprogs/lib/ext2fs/csum.c:82:9: note: uninitialized use occurs here
return crc;
|
|