Task #131639 - fixed.err
back to task #131639download
Error: COMPILER_WARNING (CWE-477):
libimobiledevice-glue-1.3.1/src/opack.c: scope_hint: In function 'opack_encode_node'
libimobiledevice-glue-1.3.1/src/opack.c:145:25: warning[-Wdeprecated-declarations]: 'plist_get_date_val' is deprecated: use plist_get_unix_date_val instead
# 145 | plist_get_date_val(node, &sec, &usec);
# | ^~~~~~~~~~~~~~~~~~
libimobiledevice-glue-1.3.1/include/libimobiledevice-glue/opack.h:25: included_from: Included from here.
libimobiledevice-glue-1.3.1/src/opack.c:33: included_from: Included from here.
/usr/include/plist/plist.h:1412:20: note: declared here
# 1412 | PLIST_API void plist_get_date_val(plist_t node, int32_t * sec, int32_t * usec);
# | ^~~~~~~~~~~~~~~~~~
# 143| int32_t sec = 0;
# 144| int32_t usec = 0;
# 145|-> plist_get_date_val(node, &sec, &usec);
# 146| time_t tsec = sec;
# 147| tsec -= MAC_EPOCH;
Error: COMPILER_WARNING (CWE-477):
libimobiledevice-glue-1.3.1/src/opack.c:145:25: warning[-Wdeprecated-declarations]: 'plist_get_date_val' is deprecated: use plist_get_unix_date_val instead
# 143| int32_t sec = 0;
# 144| int32_t usec = 0;
# 145|-> plist_get_date_val(node, &sec, &usec);
# 146| time_t tsec = sec;
# 147| tsec -= MAC_EPOCH;
Error: COMPILER_WARNING (CWE-477):
libimobiledevice-glue-1.3.1/src/opack.c: scope_hint: In function 'opack_decode_obj'
libimobiledevice-glue-1.3.1/src/opack.c:278:17: warning[-Wdeprecated-declarations]: 'plist_new_date' is deprecated: use plist_new_unix_date instead
# 278 | *plist_out = plist_new_date(sec, usec);
# | ^
/usr/include/plist/plist.h:1399:23: note: declared here
# 1399 | PLIST_API plist_t plist_new_date(int32_t sec, int32_t usec);
# | ^~~~~~~~~~~~~~
# 276| uint32_t usec = value * 1000000;
# 277| (*p)+=8;
# 278|-> *plist_out = plist_new_date(sec, usec);
# 279| } else if (type >= 0x08 && type <= 0x36) {
# 280| /* numerical type */
Error: COMPILER_WARNING (CWE-477):
libimobiledevice-glue-1.3.1/src/opack.c:278:17: warning[-Wdeprecated-declarations]: 'plist_new_date' is deprecated: use plist_new_unix_date instead
# 276| uint32_t usec = value * 1000000;
# 277| (*p)+=8;
# 278|-> *plist_out = plist_new_date(sec, usec);
# 279| } else if (type >= 0x08 && type <= 0x36) {
# 280| /* numerical type */