Snippets for gdb 17.2 from FreeBSD 150amd64
Sourced from https://pkg-status.freebsd.org/beefy23/data/latest-per-pkg/avr-gdb/17.2/150amd64-default.log.
-
checking for mprotect... ./dpd/decimal64.c:617:8: warning: variable 'n' set but not used [-Wunused-but-set-variable] 617 | Int n; /* output bunch counter */ | ^ -
checking for __xpg_strerror_r... complete.c:1151:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1151 | while (rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_ANY)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
complete.c:2235:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2235 | while (string = (*entry_function) (text, matches)) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
complete.c:2307:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2307 | while (entry = getpwent ()) | ~~~~~~^~~~~~~~~~~~~ -
checking for snprintf... bind.c:1591:31: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1591 | for (i = start,passc = 0; c = string[i]; i++) | ~~^~~~~~~~~~~ -
bind.c:2815:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2815 | for (i = 0; name = names[i]; i++) | ~~~~~^~~~~~~~~~ -
input.c:781:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 781 | if (c = _rl_next_macro_key ()) | ~~^~~~~~~~~~~~~~~~~~~~~~~ -
misc.c:460:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 460 | if (ul = (UNDO_LIST *)entry->data) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -
misc.c:520:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 520 | if (ul = (UNDO_LIST *)hent->data) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -
checking for ld used by cc... histexpand.c:213:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 213 | for (local_index = i; c = string[i]; i++) | ~~^~~~~~~~~~~ -
histsearch.c:212:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 212 | if (unescaped_backslash = (string[ret] == '\\')) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -
checking how to recognize dependent libraries... ./tilde.c:195:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 195 | if (result = strchr (string, '~')) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -
./stack-limit.c:54:24: warning: comparison of integers of different signs: 'rlim_t' (aka 'long') and 'unsigned long' [-Wsign-compare] 54 | && rlim.rlim_cur < pref | ~~~~~~~~~~~~~ ^ ~~~~ -
checking whether UINT64_MAX == ULONG_MAX... ./sha1.c:239:11: warning: defining a type within 'offsetof' is a C23 extension [-Wc23-extensions] 239 | if (UNALIGNED_P (buffer)) | ^~~~~~~~~~~~~~~~~~~~ -
./sha1.c:460:11: warning: defining a type within 'offsetof' is a C23 extension [-Wc23-extensions] 460 | if (UNALIGNED_P (buffer)) | ^~~~~~~~~~~~~~~~~~~~