Snippets for remake 1.6 from FreeBSD 150amd64
Sourced from https://pkg-status.freebsd.org/beefy23/data/latest-per-pkg/remake/1.6_2/150amd64-default.log.
-
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, | ^~~~~~~~~~~~~~~ | * -
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) | ^ -
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]
-
glob.c:315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | next_brace_sub (begin) | ^ -
glob.c:362:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | glob (pattern, flags, errfunc, pglob) | ^ -
glob.c:818:27: warning: incompatible pointer types passing 'char **' to parameter of type 'char *'; dereference with * [-Wincompatible-pointer-types] 818 | = (char **) realloc (pglob->gl_pathv, | ^~~~~~~~~~~~~~~ | * -
glob.c:937:24: warning: incompatible pointer types passing 'char **' to parameter of type 'char *'; dereference with * [-Wincompatible-pointer-types] 937 | = (char **) realloc (pglob->gl_pathv, | ^~~~~~~~~~~~~~~ | * -
glob.c:992:39: warning: incompatible pointer types passing 'char **' to parameter of type 'char *'; dereference with * [-Wincompatible-pointer-types] 992 | new_pathv = (char **) realloc (pglob->gl_pathv, | ^~~~~~~~~~~~~~~ | * -
glob.c:1070:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1070 | globfree (pglob) | ^ -
glob.c:1086:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1086 | collated_compare (a, b) | ^ -
glob.c:1108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1108 | prefix_array (dirname, array, n) | ^ -
glob.c:1176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1176 | __glob_pattern_p (pattern, quote) | ^ -
glob.c:1218:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1218 | glob_in_dir (pattern, directory, flags, errfunc, pglob) | ^ -
glob.c:1383:23: warning: incompatible pointer types passing 'char **' to parameter of type 'char *'; dereference with * [-Wincompatible-pointer-types] 1383 | = (char **) realloc (pglob->gl_pathv, | ^~~~~~~~~~~~~~~ | * -
glob.c:1416:9: warning: declaration shadows a local variable [-Wshadow] 1416 | int save = errno; | ^ -
/usr/include/sys/timeb.h:41:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings] 41 | #warning "this file includes <sys/timeb.h> which is deprecated" | ^ -
./../src/make.h:415:7: 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] 415 | char *getcwd (); | ^ -
/usr/local/include/readline/chardefs.h:93:9: warning: 'ISDIGIT' macro redefined [-Wmacro-redefined] 93 | #define ISDIGIT(c) (IN_CTYPE_DOMAIN (c) && isdigit ((unsigned char)c)) | ^ -
../src/makeint.h:611:7: 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] 611 | char *getcwd (); | ^ -
../src/make.h:415:7: 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] 415 | char *getcwd (); | ^ -
command/../../src/make.h:415:7: 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] 415 | char *getcwd (); | ^ -
command/../../src/makeint.h:611:7: 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] 611 | char *getcwd (); | ^ -
src/makeint.h:611:7: 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] 611 | char *getcwd (); | ^ -
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]
-
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/make.h:415:7: 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] 415 | char *getcwd (); | ^ -
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)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~