Re: Bez tytułu

z Capacious Coyote, 6 dni temu, napisane w Plain Text, wyświetlone 13 razy. [paste_expire] 10 miesiące. Ta wklejka jest odpowiedzią na Bez tytułu z Colossal Anoa - Pokaż różnice
URL https://pastebin.k4be.pl/view/593e5ceb Udostępnij
Pobierz wklejkę lub Pokaż surowy tekst
  1. channel.c: In function ‘channel_modes’:
  2. channel.c:707:33: warning: argument 1 is null but the corresponding size argument 3 value is [1, 4294967295] [-Wnonnull]
  3.   707 |                                 strlcat(pbuf, cm_getparameter(channel, flag), pbuf_size);
  4.       |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5. In file included from /usr/include/sys/un.h:38,
  6.                  from /home/k4be/unrealircd-git/include/sys.h:61,
  7.                  from /home/k4be/unrealircd-git/include/struct.h:27,
  8.                  from /home/k4be/unrealircd-git/include/unrealircd.h:7,
  9.                  from channel.c:25:
  10. /usr/include/string.h:512:15: note: in a call to function ‘strlcat’ declared with attribute ‘access (read_write, 1, 3)’
  11.   512 | extern size_t strlcat (char *__restrict __dest,
  12.       |               ^~~~~~~
  13. channel.c:707:33: warning: argument 1 is null but the corresponding size argument 3 value is [1, 4294967295] [-Wnonnull]
  14.   707 |                                 strlcat(pbuf, cm_getparameter(channel, flag), pbuf_size);
  15.       |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  16. /usr/include/string.h:512:15: note: in a call to function ‘strlcat’ declared with attribute ‘access (read_write, 1, 3)’
  17.   512 | extern size_t strlcat (char *__restrict __dest,
  18.       |               ^~~~~~~
  19. conf.c: In function ‘chmode_str’:
  20. conf.c:727:33: warning: argument 1 is null but the corresponding size argument 3 value is [1, 4294967295] [-Wnonnull]
  21.   727 |                                 strlcat(pbuf, modes->extparams[cm->letter], pbuf_size);
  22.       |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  23. In file included from /usr/include/sys/un.h:38,
  24.                  from /home/k4be/unrealircd-git/include/sys.h:61,
  25.                  from /home/k4be/unrealircd-git/include/struct.h:27,
  26.                  from /home/k4be/unrealircd-git/include/unrealircd.h:7,
  27.                  from conf.c:21:
  28. /usr/include/string.h:512:15: note: in a call to function ‘strlcat’ declared with attribute ‘access (read_write, 1, 3)’
  29.   512 | extern size_t strlcat (char *__restrict __dest,
  30.       |               ^~~~~~~
  31. conf.c:727:33: warning: argument 1 is null but the corresponding size argument 3 value is [1, 4294967295] [-Wnonnull]
  32.   727 |                                 strlcat(pbuf, modes->extparams[cm->letter], pbuf_size);
  33.       |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  34. /usr/include/string.h:512:15: note: in a call to function ‘strlcat’ declared with attribute ‘access (read_write, 1, 3)’
  35.   512 | extern size_t strlcat (char *__restrict __dest,
  36.       |               ^~~~~~~

odpowiedź "Re: Bez tytułu"

Tutaj możesz odpowiedzieć na wklejkę z góry

captcha