Snippets for remake 4.3+dbg-1.6 from Nix x86_64-linux
Sourced from https://hydra.nixos.org/log/d0qgwcy4csn2zjzsjq540z0xn5hng74y-remake-4.3%2Bdbg-1.6.drv.
-
command/list.c:92:23: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 92 | target_cmd = CALLOC(char, strlen(psz_target) + 1 + strlen(DEPENDS_COMMANDS)); | ^~~~ -
command/run.c:45:34: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 45 | char *psz_full_args = CALLOC(char, len); | ^~~~ -
command/write.c:72:29: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 72 | psz_filename = CALLOC(char, strlen(psz_target_basename) + 10); | ^~~~ -
break.c:49:40: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 49 | breakpoint_node_t *p_new = CALLOC (breakpoint_node_t, 1); | ^~~~~~~~~~~~~~~~~ -
file2line.c:99:39: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 99 | void **new_array = calloc (sizeof(void *), nlines); | ^~~~ -
file2line.c:100:44: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 100 | f2l_entry_t *new_type = calloc (sizeof(f2l_entry_t *), nlines); | ^~~~~~~~~~~ -
file2line.c:101:52: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 101 | lineno_array_t *p_new_linenos = calloc (sizeof(lineno_array_t), 1); | ^~~~~~~~~~~~~~ -
file2line.c:148:39: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 148 | void **new_array = calloc (sizeof(void *), nlines); | ^~~~ -
file2line.c:149:44: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 149 | f2l_entry_t *new_type = calloc (sizeof(f2l_entry_t *), nlines); | ^~~~~~~~~~~ -
file2line.c:150:52: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 150 | lineno_array_t *p_new_linenos = calloc (sizeof(lineno_array_t), 1); | ^~~~~~~~~~~~~~ -
src/buildargv.c:56:6: warning: old-style function definition [-Wold-style-definition] 56 | void freeargv (vector) | ^~~~~~~~ -
src/buildargv.c:111:8: warning: old-style function definition [-Wold-style-definition] 111 | char **buildargv (input) | ^~~~~~~~~ -
src/function.c:2459:24: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 2459 | sprintf (num, "%d", i); | ^ -
src/profile.c:165:30: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 165 | profile_call_t *c = CALLOC(profile_call_t, 1); | ^~~~~~~~~~~~~~ -
./lib/alloca.h:46:18: warning: ignoring return value of '__builtin_alloca' declared with attribute 'warn_unused_result' [-Wunused-result] 46 | # define alloca __builtin_alloca
-
src/read.c:2574:1: warning: function may return address of local variable [-Wreturn-local-addr] 2574 | } | ^ -
src/trace.c:48:42: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 48 | target_stack_node_t *new_node = CALLOC(target_stack_node_t, 1); | ^~~~~~~~~~~~~~~~~~~ -
src/trace.c:55:32: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 55 | new_node->p_target = CALLOC (file_t, 1); | ^~~~~~ -
src/trace.c:102:41: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 102 | floc_stack_node_t *new_node = CALLOC (floc_stack_node_t, 1); | ^~~~~~~~~~~~~~~~~