CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_LD_FLAGS
ECM_MKSPECS_INSTALL_DIR
/var/pisi/kimageformats-6.19.0-83/work/kimageformats-6.19.0/src/imageformats/pic.cpp: In member function ‘virtual bool SoftimagePICHandler::write(const QImage&)’:
/var/pisi/kimageformats-6.19.0-83/work/kimageformats-6.19.0/src/imageformats/pic.cpp:91:12: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 80 equals destination size [-Wstringop-truncation]
91 | strncpy(comment, header.comment.constData(), sizeof(comment));
| ^
/var/pisi/kimageformats-6.19.0-83/work/kimageformats-6.19.0/src/imageformats/pic.cpp:95:12: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 4 equals destination size [-Wstringop-truncation]
95 | strncpy(id, header.id.constData(), sizeof(id));
| ^
/var/pisi/kimageformats-6.19.0-83/work/kimageformats-6.19.0/src/imageformats/psd.cpp: In function ‘bool {anonymous}::IsValid(const PSDHeader&)’:
/var/pisi/kimageformats-6.19.0-83/work/kimageformats-6.19.0/src/imageformats/psd.cpp:701:22: warning: comparison of integer expressions of different signedness: ‘const uint’ {aka ‘const unsigned int’} and ‘const int’ [-Wsign-compare]
701 | if (header.width > std::min(300000, PSD_MAX_IMAGE_WIDTH) || header.height > std::min(300000, PSD_MAX_IMAGE_HEIGHT)) {
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~