Snippets for rofi 2.1.2 from Fedora i686
Sourced from https://kojipkgs.fedoraproject.org/packages/rofi/2.1.2/1.fc46/data/logs/i686/build.log.
-
../source/modes/recursivebrowser.c:335:3: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 335 | write(pd->pipefd2[1], "r", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../source/modes/recursivebrowser.c:336:3: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 336 | write(pd->pipefd2[1], "q", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../source/modes/recursivebrowser.c:240:13: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 240 | write(pd->pipefd2[1], "r", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../source/modes/recursivebrowser.c:315:15: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 315 | write(pd->pipefd2[1], "r", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../source/xcb/view.c:184:64: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 184 | printf("current: %.2f fps, avg: %.2f fps, min: %.2f fps, %lu draws\r\n", | ~~^ | | | long unsigned int | %llu 185 | fps, BenchMark.draws / ts, BenchMark.min, BenchMark.draws); | ~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} -
/usr/include/glib-2.0/glib/gmacros.h:975:26: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘unsigned int’ [-Wsign-compare] 975 | #define MAX(a, b) (((a) > (b)) ? (a) : (b)) | ^ -
/usr/include/glib-2.0/glib/gmacros.h:975:35: warning: operand of ‘?:’ changes signedness from ‘long int’ to ‘unsigned int’ due to unsignedness of other operand [-Wsign-compare] 975 | #define MAX(a, b) (((a) > (b)) ? (a) : (b)) | ^~~ -
/usr/include/glib-2.0/glib/gmacros.h:975:26: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘long int’ [-Wsign-compare] 975 | #define MAX(a, b) (((a) > (b)) ? (a) : (b)) | ^ -
/usr/include/glib-2.0/glib/gmacros.h:975:41: warning: operand of ‘?:’ changes signedness from ‘long int’ to ‘unsigned int’ due to unsignedness of other operand [-Wsign-compare] 975 | #define MAX(a, b) (((a) > (b)) ? (a) : (b)) | ^~~ -
../source/modes/dmenu.c:315:19: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 315 | write(pd->pipefd2[1], "r", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../source/modes/dmenu.c:332:13: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 332 | write(pd->pipefd2[1], "r", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../source/modes/dmenu.c:348:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 348 | write(pd->pipefd2[1], "r", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../source/modes/dmenu.c:354:3: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 354 | write(pd->pipefd2[1], "q", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../source/modes/dmenu.c:780:5: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 780 | write(pd->pipefd[1], "q", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../source/helper.c:817:21: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘long int’ [-Wsign-compare] 817 | ((a) < (b) ? ((a) < (c) ? (a) : (c)) : ((b) < (c) ? (b) : (c))) | ^ -
../source/helper.c:817:35: warning: operand of ‘?:’ changes signedness from ‘long int’ to ‘unsigned int’ due to unsignedness of other operand [-Wsign-compare] 817 | ((a) < (b) ? ((a) < (c) ? (a) : (c)) : ((b) < (c) ? (b) : (c))) | ^~~ -
../source/helper.c:817:47: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘long int’ [-Wsign-compare] 817 | ((a) < (b) ? ((a) < (c) ? (a) : (c)) : ((b) < (c) ? (b) : (c))) | ^ -
../source/helper.c:817:61: warning: operand of ‘?:’ changes signedness from ‘long int’ to ‘unsigned int’ due to unsignedness of other operand [-Wsign-compare] 817 | ((a) < (b) ? ((a) < (c) ? (a) : (c)) : ((b) < (c) ? (b) : (c))) | ^~~