Task #1849 - fish-3.7.1+2217.gbd5f9babd-1.1/scan-results.err
back to task #1849download
Error: COMPILER_WARNING (CWE-686): fish-3.7.1+2217.gbd5f9babd-build/fish-3.7.1-2217-gbd5f9babd/redhat-linux-build/cargo/build/x86_64-unknown-linux-gnu/debug/build/fish-3edb24e6f8d7cd44/out/.rsconf-1969176465/gettext-test-0.c:3:12: warning[-Wbuiltin-declaration-mismatch]: built-in function ‘gettext’ declared as non-function Error: COMPILER_WARNING (CWE-686): fish-3.7.1+2217.gbd5f9babd-build/fish-3.7.1-2217-gbd5f9babd/redhat-linux-build/cargo/build/x86_64-unknown-linux-gnu/debug/build/fish-9b3da22c1a5405a9/out/.rsconf-45094639/gettext-test-0.c:3:12: warning[-Wbuiltin-declaration-mismatch]: built-in function ‘gettext’ declared as non-function # 3 | extern int gettext; # | ^~~~~~~ Error: COMPILER_WARNING (CWE-252): fish-3.7.1+2217.gbd5f9babd-build/fish-3.7.1-2217-gbd5f9babd/src/fish_test_helper.c: scope_hint: In function ‘sigtstp_handler’ fish-3.7.1+2217.gbd5f9babd-build/fish-3.7.1-2217-gbd5f9babd/src/fish_test_helper.c:165:5: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ # 165 | write(STDOUT_FILENO, "SIGTSTP\n", strlen("SIGTSTP\n")); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 163| # 164| static void sigtstp_handler(int x) { # 165|-> write(STDOUT_FILENO, "SIGTSTP\n", strlen("SIGTSTP\n")); # 166| kill(getpid(), SIGSTOP); # 167| } Error: COMPILER_WARNING (CWE-252): fish-3.7.1+2217.gbd5f9babd-build/fish-3.7.1-2217-gbd5f9babd/src/fish_test_helper.c: scope_hint: In function ‘sigcont_handler’ fish-3.7.1+2217.gbd5f9babd-build/fish-3.7.1-2217-gbd5f9babd/src/fish_test_helper.c:169:5: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ # 169 | write(STDOUT_FILENO, "SIGCONT\n", strlen("SIGCONT\n")); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 167| } # 168| static void sigcont_handler(int x) { # 169|-> write(STDOUT_FILENO, "SIGCONT\n", strlen("SIGCONT\n")); # 170| } # 171| static void print_stop_cont() {