[01;33mFetching source from mirror: http://heanet.dl.sourceforge.net/project/libmtp/libmtp/1.1.23/libmtp-1.1.23.tar.gz
[0m[01;33mFetching source from mirror: http://hivelocity.dl.sourceforge.net/project/libmtp/libmtp/1.1.23/libmtp-1.1.23.tar.gz
[0m[01;33mFetching source from mirror: http://garr.dl.sourceforge.net/project/libmtp/libmtp/1.1.23/libmtp-1.1.23.tar.gz
[0m[01;33mFetching source from mirror: http://biznetnetworks.dl.sourceforge.net/project/libmtp/libmtp/1.1.23/libmtp-1.1.23.tar.gz
[0m[01;33mFetching source from mirror: http://internap.dl.sourceforge.net/project/libmtp/libmtp/1.1.23/libmtp-1.1.23.tar.gz
[0m[01;33mFetching source from mirror: http://internode.dl.sourceforge.net/project/libmtp/libmtp/1.1.23/libmtp-1.1.23.tar.gz
[0mlibusb1-glue.c: In function ‘ptp_read_func’:
libusb1-glue.c:888:21: warning: ‘context_block_size_1’ may be used uninitialized [-Wmaybe-uninitialized]
888 | else if (toread == context_block_size_1)
| ^
libusb1-glue.c:851:17: note: ‘context_block_size_1’ was declared here
851 | unsigned long context_block_size_1;
| ^~~~~~~~~~~~~~~~~~~~
libusb1-glue.c:890:21: warning: ‘context_block_size_2’ may be used uninitialized [-Wmaybe-uninitialized]
890 | else if (toread == context_block_size_2)
| ^
libusb1-glue.c:852:17: note: ‘context_block_size_2’ was declared here
852 | unsigned long context_block_size_2;
| ^~~~~~~~~~~~~~~~~~~~
In file included from ptp.c:125:
ptp-pack.c: In function ‘ptp_unpack_PTPTIME.part.0’:
ptp-pack.c:729:9: warning: ‘__builtin_strncpy’ specified bound 40 equals destination size [-Wstringop-truncation]
729 | strncpy (ptpdate, str, sizeof(ptpdate));
| ^
ptp.c: In function ‘ptp_nikon_getwifiprofilelist’:
ptp.c:4604:17: warning: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
4604 | strncpy(params->wifi_profiles[profn].creation_date, buffer, sizeof(params->wifi_profiles[profn].creation_date));
| ^
ptp.c:4612:17: warning: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
4612 | strncpy(params->wifi_profiles[profn].lastusage_date, buffer, sizeof(params->wifi_profiles[profn].lastusage_date));
| ^
ptp.c: In function ‘ptp_nikon_writewifiprofile’:
ptp.c:4699:9: warning: ‘__builtin_strncpy’ output may be truncated copying 16 bytes from a string of length 16 [-Wstringop-truncation]
4699 | strncpy((char*)&buffer[0x05], profile->profile_name, 16);
| ^
ptp.c:4722:9: warning: ‘__builtin_strncpy’ output may be truncated copying 32 bytes from a string of length 32 [-Wstringop-truncation]
4722 | strncpy((char*)&buffer[0x4A], profile->essid, 32);
| ^
ptp.c:4722:9: warning: ‘__builtin_strncpy’ output may be truncated copying 32 bytes from a string of length 32 [-Wstringop-truncation]
pathutils.c: In function ‘progress’:
pathutils.c:122:24: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=]
122 | printf("Progress: %llu of %llu (%d%%)\r", sent, total, percent);
| ~~~^ ~~~~
| | |
| | uint64_t {aka long unsigned int}
| long long unsigned int
| %lu
pathutils.c:122:32: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=]
122 | printf("Progress: %llu of %llu (%d%%)\r", sent, total, percent);
| ~~~^ ~~~~~
| | |
| | uint64_t {aka long unsigned int}
| long long unsigned int
| %lu
mtp-hotplug.c: In function ‘main’:
mtp-hotplug.c:237:7: warning: enumeration value ‘style_udev’ not handled in switch [-Wswitch]
237 | switch (style) {
| ^~~~~~
libtool: warning: remember to run 'libtool --finish /usr/lib'
libtool: warning: '../src/libmtp.la' has not been installed in '/usr/lib'
libtool: warning: '../src/libmtp.la' has not been installed in '/usr/lib'
libtool: warning: '../src/libmtp.la' has not been installed in '/usr/lib'
libtool: warning: '../src/libmtp.la' has not been installed in '/usr/lib'
libtool: warning: '../src/libmtp.la' has not been installed in '/usr/lib'
libtool: warning: '../src/libmtp.la' has not been installed in '/usr/lib'
libtool: warning: '../src/libmtp.la' has not been installed in '/usr/lib'
libtool: warning: '../src/libmtp.la' has not been installed in '/usr/lib'
libtool: warning: '../src/libmtp.la' has not been installed in '/usr/lib'
libtool: warning: '../src/libmtp.la' has not been installed in '/usr/lib'
libtool: warning: '../src/libmtp.la' has not been installed in '/usr/lib'
libtool: warning: '../src/libmtp.la' has not been installed in '/usr/lib'
libtool: warning: '../src/libmtp.la' has not been installed in '/usr/lib'
libtool: warning: '../src/libmtp.la' has not been installed in '/usr/lib'
libtool: warning: '../src/libmtp.la' has not been installed in '/usr/lib'
libtool: warning: '../src/libmtp.la' has not been installed in '/usr/lib'
libtool: warning: '../src/libmtp.la' has not been installed in '/usr/lib'
libtool: warning: '../src/libmtp.la' has not been installed in '/usr/lib'
[01;33m*** 0 error(s), 6 warning(s)
[0m