Snippets for remake 4.3+dbg-1.6 from Nix aarch64-darwin
Sourced from https://hydra.nixos.org/log/hv37d57hbww5zqk0x3wdq05f3y1x4dq3-remake-4.3%2Bdbg-1.6.drv.
-
fnmatch.c:124:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 124 | extern char *getenv (); | ^ -
fnmatch.c:135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | __strchrnul (s, c) | ^ -
fnmatch.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | internal_fnmatch (pattern, string, no_leading_period, flags) | ^ -
fnmatch.c:481:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 481 | fnmatch (pattern, string, flags) | ^ -
glob.c:195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | my_realloc (p, n) | ^ -
glob.c:320:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | next_brace_sub (begin) | ^ -
glob.c:367:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | glob (pattern, flags, errfunc, pglob) | ^ -
glob.c:819:27: warning: incompatible pointer types passing 'char **' to parameter of type 'char *'; dereference with * [-Wincompatible-pointer-types] 819 | = (char **) realloc (pglob->gl_pathv, | ^~~~~~~~~~~~~~~ | * -
glob.c:938:24: warning: incompatible pointer types passing 'char **' to parameter of type 'char *'; dereference with * [-Wincompatible-pointer-types] 938 | = (char **) realloc (pglob->gl_pathv, | ^~~~~~~~~~~~~~~ | * -
glob.c:993:39: warning: incompatible pointer types passing 'char **' to parameter of type 'char *'; dereference with * [-Wincompatible-pointer-types] 993 | new_pathv = (char **) realloc (pglob->gl_pathv, | ^~~~~~~~~~~~~~~ | * -
glob.c:1071:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1071 | globfree (pglob) | ^ -
glob.c:1087:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1087 | collated_compare (a, b) | ^ -
glob.c:1109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1109 | prefix_array (dirname, array, n) | ^ -
glob.c:1177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1177 | __glob_pattern_p (pattern, quote) | ^ -
glob.c:1219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1219 | glob_in_dir (pattern, directory, flags, errfunc, pglob) | ^ -
glob.c:1384:23: warning: incompatible pointer types passing 'char **' to parameter of type 'char *'; dereference with * [-Wincompatible-pointer-types] 1384 | = (char **) realloc (pglob->gl_pathv, | ^~~~~~~~~~~~~~~ | * -
strerror.c:59:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 59 | sprintf (buf, fmt, n); | ^ -
glob.c:211:10: warning: '__alloca' macro redefined [-Wmacro-redefined] 211 | # define __alloca alloca | ^ -
glob.c:294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | next_brace_sub (begin) | ^ -
glob.c:341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | glob (pattern, flags, errfunc, pglob) | ^ -
glob.c:797:27: warning: incompatible pointer types passing 'char **' to parameter of type 'char *'; dereference with * [-Wincompatible-pointer-types] 797 | = (char **) realloc (pglob->gl_pathv, | ^~~~~~~~~~~~~~~ | * -
glob.c:916:24: warning: incompatible pointer types passing 'char **' to parameter of type 'char *'; dereference with * [-Wincompatible-pointer-types] 916 | = (char **) realloc (pglob->gl_pathv, | ^~~~~~~~~~~~~~~ | * -
glob.c:971:39: warning: incompatible pointer types passing 'char **' to parameter of type 'char *'; dereference with * [-Wincompatible-pointer-types] 971 | new_pathv = (char **) realloc (pglob->gl_pathv, | ^~~~~~~~~~~~~~~ | * -
glob.c:1049:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1049 | globfree (pglob) | ^ -
glob.c:1065:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1065 | collated_compare (a, b) | ^ -
glob.c:1087:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1087 | prefix_array (dirname, array, n) | ^ -
glob.c:1155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1155 | __glob_pattern_p (pattern, quote) | ^ -
glob.c:1197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1197 | glob_in_dir (pattern, directory, flags, errfunc, pglob) | ^ -
glob.c:1362:23: warning: incompatible pointer types passing 'char **' to parameter of type 'char *'; dereference with * [-Wincompatible-pointer-types] 1362 | = (char **) realloc (pglob->gl_pathv, | ^~~~~~~~~~~~~~~ | * -
glob.c:1395:9: warning: declaration shadows a local variable [-Wshadow] 1395 | int save = errno; | ^ -
src/buildargv.c:56:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | void freeargv (vector) | ^ -
src/buildargv.c:111:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | char **buildargv (input) | ^ -
src/getopt.c:398:28: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | posixly_correct = getenv ("POSIXLY_CORRECT"); | ^ -
src/getopt.h:105:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 105 | extern int getopt (); | ^ -
src/getopt.h:105:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 105 | extern int getopt (); | ^ -
src/main.c:750:11: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 750 | if (streq (output_sync_option, "none")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/main.c:752:16: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 752 | else if (streq (output_sync_option, "line")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/main.c:754:16: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 754 | else if (streq (output_sync_option, "target")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/main.c:756:16: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 756 | else if (streq (output_sync_option, "recurse")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/main.c:773:9: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 773 | if (streq (profile_option, "callgrind")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/main.c:775:14: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 775 | else if (streq (profile_option, "json")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/main.c:1339:13: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 1339 | if (streq (v->name, "SHELL")) | ^~~~~~~~~~~~~~~~~~~~~~~~ -
src/read.c:2108:30: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 2108 | if (!posix_pedantic && streq (name, ".POSIX")) | ^~~~~~~~~~~~~~~~~~~~~~ -
src/read.c:2122:37: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 2122 | else if (!second_expansion && streq (name, ".SECONDEXPANSION")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/read.c:2124:30: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 2124 | else if (!one_shell && streq (name, ".ONESHELL")) | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
src/remake.c:1458:49: warning: implicit conversion from 'unsigned long' to 'double' changes value from 18446744073709551615 to 18446744073709551616 [-Wimplicit-const-int-float-conversion] 1458 | if (from_now >= 99 && from_now <= ULONG_MAX) | ~~ ^~~~~~~~~ -
src/variable.c:444:47: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 444 | if (variable_changenum != last_changenum && streq (var->name, ".VARIABLES")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/variable.c:1103:23: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 1103 | if (streq (v->name, "SHELL") && shell_var.value) | ^~~~~~~~~~~~~~~~~~~~~~~~ -
src/variable.c:1188:7: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 1188 | if (streq (var->name, RECIPEPREFIX_NAME)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
src/callgrind_format.c:92:11: warning: format specifies type 'unsigned long long' but the argument has type 'uintmax_t' (aka 'unsigned long') [-Wformat] 90 | fprintf(callgrind_fd, "%" PRIu64 " %" PRIu64 " %" PRIu64 "\n", | ~~~~~~~~~ 91 | (uint64_t) p->floc.lineno, 92 | p->elapsed_total, | ^~~~~~~~~~~~~~~~ -
src/callgrind_format.c:93:11: warning: format specifies type 'unsigned long long' but the argument has type 'uintmax_t' (aka 'unsigned long') [-Wformat] 90 | fprintf(callgrind_fd, "%" PRIu64 " %" PRIu64 " %" PRIu64 "\n", | ~~~~~~~~~ 91 | (uint64_t) p->floc.lineno, 92 | p->elapsed_total, 93 | p->elapsed_recipe); | ^~~~~~~~~~~~~~~~~ -
src/callgrind_format.c:105:13: warning: format specifies type 'unsigned long long' but the argument has type 'uintmax_t' (aka 'unsigned long') [-Wformat] 103 | fprintf(callgrind_fd, "%" PRIu64 " %" PRIu64 " %" PRIu64 "\n", | ~~~~~~~~~ 104 | (uint64_t) p->floc.lineno, 105 | c->target->elapsed_total, | ^~~~~~~~~~~~~~~~~~~~~~~~ -
src/callgrind_format.c:106:13: warning: format specifies type 'unsigned long long' but the argument has type 'uintmax_t' (aka 'unsigned long') [-Wformat] 103 | fprintf(callgrind_fd, "%" PRIu64 " %" PRIu64 " %" PRIu64 "\n", | ~~~~~~~~~ 104 | (uint64_t) p->floc.lineno, 105 | c->target->elapsed_total, 106 | c->target->elapsed_recipe); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
src/callgrind_format.c:117:53: warning: format specifies type 'unsigned long long' but the argument has type 'uintmax_t' (aka 'unsigned long') [-Wformat] 117 | fprintf(callgrind_fd, "summary: %" PRIu64 "\n\n", ctx->elapsed); | ~~~~~~~~~ ^~~~~~~~~~~~