+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/bitchx-1.2.1nb5/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/bitchx-1.2.1nb5/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for bitchx-1.2.1nb5 cd source && make 'local_dir=/home/pbulk/build/chat/bitchx/work/.home' 'INSTALL_IRC=/opt/pkg/bin/BitchX' 'IRCLIB=/opt/pkg/share/bx' 'CC=gcc' 'CFLAGS=-pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall' 'HELPDIR=/opt/pkg/share/bx/help' 'INSTALL_WSERV=/opt/pkg/share/bx/wserv' 'IRCPATH=~/.BitchX:~/.BitchX/plugins:.:/opt/pkg/share/bx/plugins:/opt/pkg/share/bx/script:/opt/pkg/share/bx' 'TRANSLATION_PATH=/opt/pkg/share/bx/translation' 'LDFLAGS=-L/opt/pkg/lib -Wl,-R/opt/pkg/lib' 'LIBS=-ltinfo -lssl -lcrypto -lsocket -lnsl -lresolv -lm -lcrypt' 'LN=ln -s' 'RM=rm -f' 'TCL_SRCS=' 'TCL_OBJS=' 'CD_PLAY=' 'CD_SRCS=' 'CD_OBJS=' 'TCL_LIBS=' 'PLUGINDIR=/opt/pkg/share/bx/plugins' '_VERSION_=BitchX' 'VERSION=BitchX-1.2.1' 'INSTALL_DATA=/opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk -m 644' 'INSTALL_SCRIPT=/opt/pkg/share/bx/script' 'EXEEXT=' 'SHLIB_CFLAGS=' 'SHLIB_SUFFIX=.so' -j 1 all gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c alias.c In file included from alias.c:2226: expr2.c:1225:15: warning: 'dummy' is static but used in inline function 'unary' which is not static 1225 | c->operand = dummy; | ^~~~~ expr2.c:1199:3: warning: 'pusht' is static but used in inline function 'check_implied_arg' which is not static 1199 | pusht(c, MAGIC_TOKEN); /* XXXX Bleh */ | ^~~~~ gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c alist.c gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c array.c gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c art.c gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c banlist.c banlist.c: In function 'masskick': banlist.c:695:35: warning: '%s' directive writing up to 2048 bytes into a region of size 2036 [-Wformat-overflow=] 695 | sprintf(buf, "KICK %%s %%s :\002%s\002", reason); | ^~ ~~~~~~ banlist.c:695:3: note: 'sprintf' output between 15 and 2063 bytes into a destination of size 2049 695 | sprintf(buf, "KICK %%s %%s :\002%s\002", reason); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c bot_link.c gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c cdcc.c gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c cdns.c gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c chelp.c gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c commands.c commands.c: In function 'back': commands.c:3160:31: warning: '%s' directive output may be truncated writing up to 2048 bytes into a region of size 2028 [-Wformat-truncation=] 3160 | "PRIVMSG %%s :ACTION %s", fset); | ^~ ~~~~ commands.c:3159:6: note: 'snprintf' output between 22 and 2070 bytes into a destination of size 2048 3159 | snprintf(str, BIG_BUFFER_SIZE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3160 | "PRIVMSG %%s :ACTION %s", fset); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c commands2.c gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c compat.c gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c cset.c gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c ctcp.c ctcp.c: In function 'do_notice_ctcp': ctcp.c:1344:19: warning: pointer targets in passing argument 1 of 'stripansi' differ in signedness [-Wpointer-sign] 1344 | tbuf = stripansi(str); | ^~~ | | | char * In file included from ctcp.c:45: /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/misc.h:78:19: note: expected 'unsigned char *' but argument is of type 'char *' 78 | char *stripansi (unsigned char *); | ^~~~~~~~~~~~~~~ gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c dcc.c dcc.c: In function 'output_reject_ctcp': dcc.c:3047:8: warning: variable 'nickname_requested' set but not used [-Wunused-but-set-variable] 3047 | char *nickname_requested; | ^~~~~~~~~~~~~~~~~~ dcc.c: In function 'close_dcc_file': dcc.c:1632:32: warning: 's TRANSFER COMPLETE' directive writing 19 bytes into a region of size between 13 and 42 [-Wformat-overflow=] 1632 | sprintf(buffer, "%%s %s %%s %%s TRANSFER COMPLETE", lame_type); | ^~~~~~~~~~~~~~~~~~~ dcc.c:1632:2: note: 'sprintf' output between 28 and 57 bytes into a destination of size 50 1632 | sprintf(buffer, "%%s %s %%s %%s TRANSFER COMPLETE", lame_type); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dcc.c: In function 'update_transfer': dcc.c:2743:43: warning: '%s' directive writing up to 2047 bytes into a region of size 511 [-Wformat-overflow=] 2743 | sprintf(DCC_current_transfer_buffer, "[%s]", transfer_buffer); | ^~ ~~~~~~~~~~~~~~~ dcc.c:2743:4: note: 'sprintf' output between 3 and 2050 bytes into a destination of size 512 2743 | sprintf(DCC_current_transfer_buffer, "[%s]", transfer_buffer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c debug.c gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c encrypt.c gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c exec.c gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c files.c gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c flood.c gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c fset.c gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c functions.c functions.c: In function 'function_decode': functions.c:1721:9: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] 1721 | return result; /* DONT USE RETURN_STR HERE! */ | ^~~~~~ functions.c: In function 'function_chr': functions.c:3414:23: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 3414 | unsigned char *ack = aboo; | ^~~~ functions.c: In function 'function_ascii': functions.c:3427:21: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 3427 | unsigned char *w = word; | ^~~~ functions.c: In function 'function_stripansi': functions.c:3915:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3915 | for (cp = input; *cp; cp++) | ^ functions.c: In function 'function_stripc': functions.c:3934:22: warning: pointer targets in passing argument 1 of '(u_char * (*)(u_char *, const u_char *))*(global + 600)' differ in signedness [-Wpointer-sign] 3934 | strcpy_nocolorcodes(retval, input); | ^~~~~~ | | | char * functions.c:3934:22: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' functions.c:3934:30: warning: pointer targets in passing argument 2 of '(u_char * (*)(u_char *, const u_char *))*(global + 600)' differ in signedness [-Wpointer-sign] 3934 | strcpy_nocolorcodes(retval, input); | ^~~~~ | | | char * functions.c:3934:30: note: expected 'const u_char *' {aka 'const unsigned char *'} but argument is of type 'char *' functions.c: In function 'function_writeserver': functions.c:5065:35: warning: pointer targets in passing argument 2 of '(int (*)(int, unsigned char *, int, int))*(global + 2384)' differ in signedness [-Wpointer-sign] 5065 | len = write_sockets(socket_num, word, strlen(word), 1); | ^~~~ | | | char * functions.c:5065:35: note: expected 'unsigned char *' but argument is of type 'char *' In file included from functions.c:47: functions.c: In function 'function_countansi': functions.c:5316:31: warning: pointer targets in passing argument 1 of '(int (*)(const unsigned char *, int, int))*(global + 2472)' differ in signedness [-Wpointer-sign] 5316 | RETURN_INT(output_with_count(input, 0, 0)); | ^~~~~ | | | char * /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/modval.h:196:107: note: in definition of macro 'm_strdup' 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) | ^ functions.c:5316:2: note: in expansion of macro 'RETURN_INT' 5316 | RETURN_INT(output_with_count(input, 0, 0)); | ^~~~~~~~~~ functions.c:5316:31: note: expected 'const unsigned char *' but argument is of type 'char *' 5316 | RETURN_INT(output_with_count(input, 0, 0)); | ^~~~~ /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/modval.h:196:107: note: in definition of macro 'm_strdup' 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) | ^ functions.c:5316:2: note: in expansion of macro 'RETURN_INT' 5316 | RETURN_INT(output_with_count(input, 0, 0)); | ^~~~~~~~~~ functions.c: In function 'function_leftpc': functions.c:5768:29: warning: pointer targets in passing argument 1 of '(unsigned char ** (*)(const unsigned char *, int, int *, int))*(global + 2424)' differ in signedness [-Wpointer-sign] 5768 | prepared = prepare_display(word, count, &lines, PREPARE_NOWRAP); | ^~~~ | | | char * functions.c:5768:29: note: expected 'const unsigned char *' but argument is of type 'char *' functions.c: In function 'function_numlines': functions.c:6358:30: warning: pointer targets in passing argument 1 of '(unsigned char ** (*)(const unsigned char *, int))*(global + 2456)' differ in signedness [-Wpointer-sign] 6358 | for (lines = split_up_line(s, cols + 1); *lines; lines++) | ^ | | | char * functions.c:6358:30: note: expected 'const unsigned char *' but argument is of type 'char *' gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c funny.c gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c glob.c gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c hash.c gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c hebrew.c gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c help.c help.c: In function 'help_prompt': help.c:199:22: warning: 'Help? ' directive writing 6 bytes into a region of size between 1 and 2049 [-Wformat-overflow=] 199 | sprintf(tmp, "%s%sHelp? ", help_topic_list, | ^~~~~~ help.c:199:4: note: 'sprintf' output 7 or more bytes (assuming 2055) into a destination of size 2049 199 | sprintf(tmp, "%s%sHelp? ", help_topic_list, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | *help_topic_list ? space : empty_string); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help.c: In function 'help_me': help.c:383:21: warning: 'Help? ' directive writing 6 bytes into a region of size between 1 and 2049 [-Wformat-overflow=] 383 | sprintf(tmp, "%s%sHelp? ", help_topic_list, *help_topic_list ? space : empty_string); | ^~~~~~ help.c:383:3: note: 'sprintf' output 7 or more bytes (assuming 2055) into a destination of size 2049 383 | sprintf(tmp, "%s%sHelp? ", help_topic_list, *help_topic_list ? space : empty_string); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help.c:544:22: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 544 | sprintf(tmp, "%s/%s", path, g.gl_pathv[0]); | ^ help.c:544:3: note: 'sprintf' output 2 or more bytes (assuming 2050) into a destination of size 2049 544 | sprintf(tmp, "%s/%s", path, g.gl_pathv[0]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help.c:528:21: warning: 'Help? ' directive writing 6 bytes into a region of size between 1 and 2049 [-Wformat-overflow=] 528 | sprintf(tmp, "%s%sHelp? ", help_topic_list, *help_topic_list ? space : empty_string); | ^~~~~~ help.c:528:3: note: 'sprintf' output 7 or more bytes (assuming 2055) into a destination of size 2049 528 | sprintf(tmp, "%s%sHelp? ", help_topic_list, *help_topic_list ? space : empty_string); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c history.c gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c hook.c gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c if.c gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c ignore.c gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c input.c input.c: In function 'BX_update_input': input.c:246:29: warning: pointer targets in passing argument 1 of '(unsigned char * (*)(const unsigned char *))*(global + 2568)' differ in signedness [-Wpointer-sign] 246 | ptr = (char *)strip_ansi(ptr); | ^~~ | | | char * input.c:246:29: note: expected 'const unsigned char *' but argument is of type 'char *' input.c:103:38: warning: pointer targets in passing argument 1 of '(int (*)(const unsigned char *, int, int))*(global + 2472)' differ in signedness [-Wpointer-sign] 103 | #define INPUT_PROMPT current_screen->input_prompt | ^ | | | char * input.c:262:42: note: in expansion of macro 'INPUT_PROMPT' 262 | INPUT_PROMPT_LEN = output_with_count(INPUT_PROMPT, 0, 0); | ^~~~~~~~~~~~ input.c:103:38: note: expected 'const unsigned char *' but argument is of type 'char *' 103 | #define INPUT_PROMPT current_screen->input_prompt | ^ input.c:262:42: note: in expansion of macro 'INPUT_PROMPT' 262 | INPUT_PROMPT_LEN = output_with_count(INPUT_PROMPT, 0, 0); | ^~~~~~~~~~~~ input.c:103:38: warning: pointer targets in passing argument 1 of '(int (*)(const unsigned char *, int, int))*(global + 2472)' differ in signedness [-Wpointer-sign] 103 | #define INPUT_PROMPT current_screen->input_prompt | ^ | | | char * input.c:392:23: note: in expansion of macro 'INPUT_PROMPT' 392 | output_with_count(INPUT_PROMPT, 0, 1); | ^~~~~~~~~~~~ input.c:103:38: note: expected 'const unsigned char *' but argument is of type 'char *' 103 | #define INPUT_PROMPT current_screen->input_prompt | ^ input.c:392:23: note: in expansion of macro 'INPUT_PROMPT' 392 | output_with_count(INPUT_PROMPT, 0, 1); | ^~~~~~~~~~~~ input.c: In function 'BX_lookup_nickcompletion': input.c:1154:36: warning: pointer targets in passing argument 1 of '(int (*)(const unsigned char *, const unsigned char *, size_t))*(global + 208)' differ in signedness [-Wpointer-sign] 1154 | else if (!ntmp && my_strnstr(nick->nick, possible, strlen(possible))) | ~~~~^~~~~~ | | | char * input.c:1154:36: note: expected 'const unsigned char *' but argument is of type 'char *' input.c:1154:44: warning: pointer targets in passing argument 2 of '(int (*)(const unsigned char *, const unsigned char *, size_t))*(global + 208)' differ in signedness [-Wpointer-sign] 1154 | else if (!ntmp && my_strnstr(nick->nick, possible, strlen(possible))) | ^~~~~~~~ | | | char * input.c:1154:44: note: expected 'const unsigned char *' but argument is of type 'char *' input.c: In function 'edit_char': input.c:1360:39: warning: pointer targets in passing argument 2 of 'oldprompt->func' differ in signedness [-Wpointer-sign] 1360 | (*oldprompt->func)(oldprompt->data, key_); | ^~~~ | | | unsigned char * input.c:1360:39: note: expected 'char *' but argument is of type 'unsigned char *' input.c: In function 'BX_getchannick': input.c:1836:75: warning: pointer targets in passing argument 1 of '(int (*)(const unsigned char *, const unsigned char *, size_t))*(global + 208)' differ in signedness [-Wpointer-sign] 1836 | if (!my_strnicmp(cnick->nick, nick, strlen(nick)) || my_strnstr(cnick->nick, nick, strlen(nick))) | ~~~~~^~~~~~ | | | char * input.c:1836:75: note: expected 'const unsigned char *' but argument is of type 'char *' input.c:1836:83: warning: pointer targets in passing argument 2 of '(int (*)(const unsigned char *, const unsigned char *, size_t))*(global + 208)' differ in signedness [-Wpointer-sign] 1836 | if (!my_strnicmp(cnick->nick, nick, strlen(nick)) || my_strnstr(cnick->nick, nick, strlen(nick))) | ^~~~ | | | char * input.c:1836:83: note: expected 'const unsigned char *' but argument is of type 'char *' input.c:1852:27: warning: pointer targets in passing argument 1 of '(int (*)(const unsigned char *, const unsigned char *, size_t))*(global + 208)' differ in signedness [-Wpointer-sign] 1852 | if (my_strnstr(cnick->nick, nick, strlen(nick))) | ~~~~~^~~~~~ | | | char * input.c:1852:27: note: expected 'const unsigned char *' but argument is of type 'char *' input.c:1852:35: warning: pointer targets in passing argument 2 of '(int (*)(const unsigned char *, const unsigned char *, size_t))*(global + 208)' differ in signedness [-Wpointer-sign] 1852 | if (my_strnstr(cnick->nick, nick, strlen(nick))) | ^~~~ | | | char * input.c:1852:35: note: expected 'const unsigned char *' but argument is of type 'char *' gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c ircsig.c ircsig.c: In function 'my_signal': ircsig.c:22:9: warning: braces around scalar initializer 22 | struct sigaction sa = {{ 0 }}, osa = {{ 0 }}; | ^~~~~~~~~ ircsig.c:22:9: note: (near initialization for 'sa.sa_flags') ircsig.c:22:9: warning: braces around scalar initializer ircsig.c:22:9: note: (near initialization for 'osa.sa_flags') gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c keys.c gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c lastlog.c lastlog.c: In function 'logmsg': lastlog.c:617:26: warning: pointer targets in passing argument 1 of '(unsigned char ** (*)(const unsigned char *, int))*(global + 2456)' differ in signedness [-Wpointer-sign] 617 | lines = split_up_line(stripansicodes(convert_output_format(format, "%s %s %s %s", type, timestr, from, msglog_buffer)), 80); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * lastlog.c:617:26: note: expected 'const unsigned char *' but argument is of type 'char *' lastlog.c:621:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 621 | int len = strlen(*lines) * 2 + 1; | ^~~~~~ | | | unsigned char * In file included from /usr/include/sys/socket_impl.h:56, from /usr/include/sys/socket.h:52, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:63, from lastlog.c:12: /usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'unsigned char *' 76 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ lastlog.c:624:24: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 624 | strcpy(local_copy, *lines); | ^~~~~~ | | | unsigned char * In file included from /usr/include/string.h:34, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc_std.h:21, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:109, from lastlog.c:12: /usr/include/iso/string_iso.h:75:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 75 | extern char *strcpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD); | ^ gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c list.c gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c log.c gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c mail.c gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c misc.c In file included from misc.c:71: misc.c: In function 'stripansi': /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/modval.h:196:106: warning: pointer targets in passing argument 1 of '(char * (*)(const char *, const char *, const char *, const int))*(global + 632)' differ in signedness [-Wpointer-sign] 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) | ^~~ | | | unsigned char * misc.c:1092:12: note: in expansion of macro 'm_strdup' 1092 | newline = m_strdup(line); | ^~~~~~~~ /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/modval.h:196:106: note: expected 'const char *' but argument is of type 'unsigned char *' 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) | ^~~ misc.c:1092:12: note: in expansion of macro 'm_strdup' 1092 | newline = m_strdup(line); | ^~~~~~~~ misc.c:1092:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1092 | newline = m_strdup(line); | ^ misc.c: In function 'randreason': misc.c:1776:13: warning: variable 'min' set but not used [-Wunused-but-set-variable] 1776 | int count, min, i; | ^~~ misc.c: In function 'ar_query_name': misc.c:2490:4: warning: pointer targets in passing argument 8 of 'res_mkquery' differ in signedness [-Wpointer-sign] 2490 | buf, sizeof(buf)); | ^~~ | | | char * In file included from misc.c:2021: /usr/include/resolv.h:332:18: note: expected 'uchar_t *' {aka 'unsigned char *'} but argument is of type 'char *' 332 | int res_mkquery __P((int, const char *, int, int, const uchar_t *, | ^~~ misc.c: In function 'ar_procanswer': misc.c:2691:21: warning: pointer targets in passing argument 1 of 'dn_skipname' differ in signedness [-Wpointer-sign] 2691 | cp += dn_skipname(cp, eob) + QFIXEDSZ; | ^~ | | | char * In file included from misc.c:2021: /usr/include/resolv.h:360:18: note: expected 'const uchar_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 360 | int dn_skipname __P((const uchar_t *, const uchar_t *)); | ^~~ misc.c:2691:25: warning: pointer targets in passing argument 2 of 'dn_skipname' differ in signedness [-Wpointer-sign] 2691 | cp += dn_skipname(cp, eob) + QFIXEDSZ; | ^~~ | | | char * In file included from misc.c:2021: /usr/include/resolv.h:360:18: note: expected 'const uchar_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 360 | int dn_skipname __P((const uchar_t *, const uchar_t *)); | ^~~ misc.c:2697:17: warning: pointer targets in passing argument 1 of 'dn_expand' differ in signedness [-Wpointer-sign] 2697 | n = dn_expand(buf, eob, cp, ar_hostbuf, sizeof(ar_hostbuf)-1); | ^~~ | | | char * In file included from misc.c:2021: /usr/include/resolv.h:379:16: note: expected 'const uchar_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 379 | int dn_expand __P((const uchar_t *, const uchar_t *, | ^~~ misc.c:2697:22: warning: pointer targets in passing argument 2 of 'dn_expand' differ in signedness [-Wpointer-sign] 2697 | n = dn_expand(buf, eob, cp, ar_hostbuf, sizeof(ar_hostbuf)-1); | ^~~ | | | char * In file included from misc.c:2021: /usr/include/resolv.h:379:16: note: expected 'const uchar_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 379 | int dn_expand __P((const uchar_t *, const uchar_t *, | ^~~ misc.c:2697:27: warning: pointer targets in passing argument 3 of 'dn_expand' differ in signedness [-Wpointer-sign] 2697 | n = dn_expand(buf, eob, cp, ar_hostbuf, sizeof(ar_hostbuf)-1); | ^~ | | | char * In file included from misc.c:2021: /usr/include/resolv.h:379:16: note: expected 'const uchar_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 379 | int dn_expand __P((const uchar_t *, const uchar_t *, | ^~~ misc.c:2732:23: warning: pointer targets in passing argument 1 of 'dn_expand' differ in signedness [-Wpointer-sign] 2732 | if ((n = dn_expand(buf, eob, cp, ar_hostbuf, | ^~~ | | | char * In file included from misc.c:2021: /usr/include/resolv.h:379:16: note: expected 'const uchar_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 379 | int dn_expand __P((const uchar_t *, const uchar_t *, | ^~~ misc.c:2732:28: warning: pointer targets in passing argument 2 of 'dn_expand' differ in signedness [-Wpointer-sign] 2732 | if ((n = dn_expand(buf, eob, cp, ar_hostbuf, | ^~~ | | | char * In file included from misc.c:2021: /usr/include/resolv.h:379:16: note: expected 'const uchar_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 379 | int dn_expand __P((const uchar_t *, const uchar_t *, | ^~~ misc.c:2732:33: warning: pointer targets in passing argument 3 of 'dn_expand' differ in signedness [-Wpointer-sign] 2732 | if ((n = dn_expand(buf, eob, cp, ar_hostbuf, | ^~ | | | char * In file included from misc.c:2021: /usr/include/resolv.h:379:16: note: expected 'const uchar_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 379 | int dn_expand __P((const uchar_t *, const uchar_t *, | ^~~ misc.c:2667:15: warning: variable 'hp' set but not used [-Wunused-but-set-variable] 2667 | struct hent *hp; | ^~ misc.c:2666:15: warning: variable 'ttl' set but not used [-Wunused-but-set-variable] 2666 | unsigned int ttl, dr, *adr; | ^~~ misc.c: In function 'nslookup': misc.c:3119:4: warning: variable 'hostname' set but not used [-Wunused-but-set-variable] 3119 | *hostname, | ^~~~~~~~ In file included from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc_std.h:122, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:109, from misc.c:4: misc.c: In function 'BX_write_sockets': misc.c:3605:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 3605 | buf = alloca(strlen(str)+4); | ^~~ | | | unsigned char * In file included from /usr/include/sys/socket_impl.h:56, from /usr/include/sys/socket.h:52, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:63, from misc.c:4: /usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'unsigned char *' 76 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ misc.c:3606:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 3606 | strcpy(buf, str); | ^~~ | | | unsigned char * In file included from /usr/include/string.h:34, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc_std.h:21, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:109, from misc.c:4: /usr/include/iso/string_iso.h:75:21: note: expected 'char * restrict' but argument is of type 'unsigned char *' 75 | extern char *strcpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD); | ^ misc.c:3606:15: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 3606 | strcpy(buf, str); | ^~~ | | | unsigned char * In file included from /usr/include/string.h:34, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc_std.h:21, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:109, from misc.c:4: /usr/include/iso/string_iso.h:75:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 75 | extern char *strcpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD); | ^ misc.c:3607:10: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 3607 | strcat(buf, "\r\n"); | ^~~ | | | unsigned char * In file included from /usr/include/string.h:34, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc_std.h:21, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:109, from misc.c:4: /usr/include/iso/string_iso.h:73:21: note: expected 'char * restrict' but argument is of type 'unsigned char *' 73 | extern char *strcat(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD); | ^ misc.c: In function 'read_netfinger': misc.c:3674:29: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 3674 | register unsigned char *p = tmpstr; | ^~~~~~ misc.c: In function 'netfinger': misc.c:3749:21: warning: pointer targets in passing argument 2 of '(int (*)(int, unsigned char *, int, int))*(global + 2384)' differ in signedness [-Wpointer-sign] 3749 | write_sockets(s, name, strlen(name), 1); | ^~~~ | | | char * misc.c:3749:21: note: expected 'unsigned char *' but argument is of type 'char *' misc.c: In function 'char_fucknut': misc.c:4418:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 4418 | int total = strlen(crap), allchar = 0; | ^~~~ | | | unsigned char * In file included from /usr/include/sys/socket_impl.h:56, from /usr/include/sys/socket.h:52, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:63, from misc.c:4: /usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'unsigned char *' 76 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ misc.c: In function 'convert_output_format2': misc.c:4794:17: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] 4794 | strlcpy(buffer2, str, RAW_BUFFER_SIZE); | ^~~~~~~ | | | unsigned char * In file included from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc_std.h:21, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:109, from misc.c:4: /usr/include/string.h:127:23: note: expected 'char *' but argument is of type 'unsigned char *' 127 | extern size_t strlcpy(char *, const char *, size_t); | ^~~~~~ misc.c:4795:14: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4795 | copy = tmpc = buffer2; | ^ misc.c:4808:13: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] 4808 | strlcat(s, convert_output_format(new_str, NULL, NULL), RAW_BUFFER_SIZE); | ^ | | | unsigned char * In file included from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc_std.h:21, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:109, from misc.c:4: /usr/include/string.h:128:23: note: expected 'char *' but argument is of type 'unsigned char *' 128 | extern size_t strlcat(char *, const char *, size_t); | ^~~~~~ In file included from misc.c:71: /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/modval.h:196:106: warning: pointer targets in passing argument 1 of '(char * (*)(const char *, const char *, const char *, const int))*(global + 632)' differ in signedness [-Wpointer-sign] 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) | ^~~ | | | unsigned char * misc.c:4821:9: note: in expansion of macro 'm_strdup' 4821 | return m_strdup(buffer); | ^~~~~~~~ /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/modval.h:196:106: note: expected 'const char *' but argument is of type 'unsigned char *' 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) | ^~~ misc.c:4821:9: note: in expansion of macro 'm_strdup' 4821 | return m_strdup(buffer); | ^~~~~~~~ misc.c: In function 'putlog': misc.c:1266:20: warning: '%s' directive writing up to 2048 bytes into a region of size between 2007 and 2046 [-Wformat-overflow=] 1266 | sprintf(s2,"[%s] %s",s1,s); | ^~ ~ misc.c:1266:3: note: 'sprintf' output between 4 and 2091 bytes into a destination of size 2049 1266 | sprintf(s2,"[%s] %s",s1,s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ misc.c: In function 'userhost_ignore': misc.c:3972:28: warning: '%s' directive writing up to 2048 bytes into a region of size 2040 [-Wformat-overflow=] 3972 | sprintf(tmp, "%s ^IGNORE %s NONE", arg, ignorebuf); | ^~ ~~~~~~~~~ misc.c:3972:3: note: 'sprintf' output 15 or more bytes (assuming 2063) into a destination of size 2049 3972 | sprintf(tmp, "%s ^IGNORE %s NONE", arg, ignorebuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c names.c gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c network.c network.c: In function 'BX_connect_by_number': network.c:512:19: warning: unused variable 'hp' [-Wunused-variable] 512 | struct hostent *hp; | ^~ gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c newio.c gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c notify.c notify.c: In function 'rebuild_notify_ison': notify.c:52:8: warning: variable 'stuff' set but not used [-Wunused-but-set-variable] 52 | char *stuff; | ^~~~~ gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c numbers.c gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c output.c gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c parse.c parse.c: In function 'annoy_kicks': parse.c:189:20: warning: pointer targets in passing argument 1 of 'char_fucknut' differ in signedness [-Wpointer-sign] 189 | if (char_fucknut(ptr, '\002', 12)) | ^~~ | | | char * In file included from parse.c:44: /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/misc.h:125:21: note: expected 'unsigned char *' but argument is of type 'char *' 125 | int char_fucknut (register unsigned char *, char, int); | ^~~~~~~~~~~~~~~~~~~~~~~~ parse.c:191:25: warning: pointer targets in passing argument 1 of 'char_fucknut' differ in signedness [-Wpointer-sign] 191 | else if (char_fucknut(ptr, '\007', 1)) | ^~~ | | | char * In file included from parse.c:44: /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/misc.h:125:21: note: expected 'unsigned char *' but argument is of type 'char *' 125 | int char_fucknut (register unsigned char *, char, int); | ^~~~~~~~~~~~~~~~~~~~~~~~ parse.c:193:25: warning: pointer targets in passing argument 1 of 'char_fucknut' differ in signedness [-Wpointer-sign] 193 | else if (char_fucknut(ptr, '\003', 12)) | ^~~ | | | char * In file included from parse.c:44: /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/misc.h:125:21: note: expected 'unsigned char *' but argument is of type 'char *' 125 | int char_fucknut (register unsigned char *, char, int); | ^~~~~~~~~~~~~~~~~~~~~~~~ parse.c:195:25: warning: pointer targets in passing argument 1 of 'char_fucknut' differ in signedness [-Wpointer-sign] 195 | else if (char_fucknut(ptr, '\037', 0)) | ^~~ | | | char * In file included from parse.c:44: /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/misc.h:125:21: note: expected 'unsigned char *' but argument is of type 'char *' 125 | int char_fucknut (register unsigned char *, char, int); | ^~~~~~~~~~~~~~~~~~~~~~~~ parse.c:197:25: warning: pointer targets in passing argument 1 of 'char_fucknut' differ in signedness [-Wpointer-sign] 197 | else if (char_fucknut(ptr, '\026', 12)) | ^~~ | | | char * In file included from parse.c:44: /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/misc.h:125:21: note: expected 'unsigned char *' but argument is of type 'char *' 125 | int char_fucknut (register unsigned char *, char, int); | ^~~~~~~~~~~~~~~~~~~~~~~~ parse.c:199:25: warning: pointer targets in passing argument 1 of 'caps_fucknut' differ in signedness [-Wpointer-sign] 199 | else if (caps_fucknut(ptr)) | ^~~ | | | char * In file included from parse.c:44: /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/misc.h:100:20: note: expected 'unsigned char *' but argument is of type 'char *' 100 | int caps_fucknut (register unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~~~~ parse.c: In function 'p_wallops': parse.c:410:9: warning: variable 'high' set but not used [-Wunused-but-set-variable] 410 | char *high; | ^~~~ parse.c: In function 'p_privmsg': parse.c:454:25: warning: variable 'com_lines' set but not used [-Wunused-but-set-variable] 454 | static int com_do_log, com_lines = 0; | ^~~~~~~~~ parse.c:454:13: warning: variable 'com_do_log' set but not used [-Wunused-but-set-variable] 454 | static int com_do_log, com_lines = 0; | ^~~~~~~~~~ parse.c:452:4: warning: variable 'high' set but not used [-Wunused-but-set-variable] 452 | *high; | ^~~~ parse.c: In function 'add_user_who': parse.c:961:15: warning: variable 'chan' set but not used [-Wunused-but-set-variable] 961 | ChannelList *chan; | ^~~~ parse.c: In function 'p_channel': parse.c:1147:13: warning: variable 'user' set but not used [-Wunused-but-set-variable] 1147 | char *user, *host; | ^~~~ parse.c: In function 'p_invite': parse.c:1208:8: warning: variable 'high' set but not used [-Wunused-but-set-variable] 1208 | char *high; | ^~~~ parse.c: In function 'check_bitch_mode': parse.c:1443:8: warning: variable 'right_now' set but not used [-Wunused-but-set-variable] 1443 | time_t right_now; | ^~~~~~~~~ parse.c: In function 'parse_server': parse.c:1907:20: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 1907 | protocol_command *retval; | ^~~~~~ gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c queue.c gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c readlog.c readlog.c: In function 'show_log': readlog.c:136:10: warning: variable 'old_window' set but not used [-Wunused-but-set-variable] 136 | Window *old_window; | ^~~~~~~~~~ gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c reg.c gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c server.c gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c stack.c gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c status.c status.c: In function 'fix_status_buffer': status.c:487:19: warning: pointer targets in passing argument 1 of '(unsigned char * (*)(const unsigned char *))*(global + 2568)' differ in signedness [-Wpointer-sign] 487 | str = strip_ansi(buffer); | ^~~~~~ | | | char * status.c:487:19: note: expected 'const unsigned char *' but argument is of type 'char *' status.c:566:17: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 566 | strcpy(buffer, lhs_buffer); | ^~~~~~~~~~ | | | unsigned char * In file included from /usr/include/string.h:34, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc_std.h:21, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:109, from status.c:12: /usr/include/iso/string_iso.h:75:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 75 | extern char *strcpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD); | ^ status.c:567:18: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness [-Wpointer-sign] 567 | strlcat(buffer, rhs_buffer, sizeof buffer); | ^~~~~~~~~~ | | | unsigned char * In file included from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc_std.h:21, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:109, from status.c:12: /usr/include/string.h:128:31: note: expected 'const char *' but argument is of type 'unsigned char *' 128 | extern size_t strlcat(char *, const char *, size_t); | ^~~~~~~~~~~~ status.c:461:6: warning: variable 'in_rhs' set but not used [-Wunused-but-set-variable] 461 | int in_rhs = 0, | ^~~~~~ status.c: In function 'stat_convert_format': status.c:614:12: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] 614 | strlcat(buffer, status_expandos[i].callback_function(win), sizeof buffer); | ^~~~~~ | | | unsigned char * In file included from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc_std.h:21, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:109, from status.c:12: /usr/include/string.h:128:23: note: expected 'char *' but argument is of type 'unsigned char *' 128 | extern size_t strlcat(char *, const char *, size_t); | ^~~~~~ status.c:615:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 615 | pos = strlen(buffer); | ^~~~~~ | | | unsigned char * In file included from /usr/include/sys/socket_impl.h:56, from /usr/include/sys/socket.h:52, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:63, from status.c:12: /usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'unsigned char *' 76 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ status.c:621:25: warning: pointer targets in passing argument 2 of 'fix_status_buffer' differ in signedness [-Wpointer-sign] 621 | fix_status_buffer(win, buffer, 0); | ^~~~~~ | | | unsigned char * status.c:449:43: note: expected 'char *' but argument is of type 'unsigned char *' 449 | void fix_status_buffer(Window *win, char *buffer, int in_status) | ~~~~~~^~~~~~ In file included from status.c:38: /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/modval.h:196:106: warning: pointer targets in passing argument 1 of '(char * (*)(const char *, const char *, const char *, const int))*(global + 632)' differ in signedness [-Wpointer-sign] 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) | ^~~ | | | unsigned char * status.c:622:9: note: in expansion of macro 'm_strdup' 622 | return m_strdup(buffer); | ^~~~~~~~ /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/modval.h:196:106: note: expected 'const char *' but argument is of type 'unsigned char *' 196 | #define m_strdup(x) (*(char *(*)(const char *, const char *, const char *, const int ))global[M_STRDUP])((x), MODULENAME, __FILE__, __LINE__) | ^~~ status.c:622:9: note: in expansion of macro 'm_strdup' 622 | return m_strdup(buffer); | ^~~~~~~~ status.c: In function 'make_status': status.c:710:12: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 710 | snprintf(str, BIG_BUFFER_SIZE - 1, | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/stdio.h:151, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:35, from status.c:12: /usr/include/iso/stdio_c99.h:82:21: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD, | ^ status.c:742:23: warning: pointer targets in passing argument 1 of '(char * (*)(const char *, const char *, int *, char **))*(global + 3320)' differ in signedness [-Wpointer-sign] 742 | str = expand_alias(buffer, empty_string, &af, NULL); | ^~~~~~ | | | u_char * {aka unsigned char *} status.c:742:23: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} status.c:742:8: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 742 | str = expand_alias(buffer, empty_string, &af, NULL); | ^ status.c:743:12: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] 743 | strlcpy(buffer, str, sizeof buffer); | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc_std.h:21, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:109, from status.c:12: /usr/include/string.h:127:23: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 127 | extern size_t strlcpy(char *, const char *, size_t); | ^~~~~~ status.c:743:20: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] 743 | strlcpy(buffer, str, sizeof buffer); | ^~~ | | | u_char * {aka unsigned char *} In file included from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc_std.h:21, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:109, from status.c:12: /usr/include/string.h:127:31: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 127 | extern size_t strlcpy(char *, const char *, size_t); | ^~~~~~~~~~~~ status.c:856:13: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] 856 | strlcat(lhs_buffer, lhs_fillchar, | ^~~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc_std.h:21, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:109, from status.c:12: /usr/include/string.h:128:23: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 128 | extern size_t strlcat(char *, const char *, size_t); | ^~~~~~ status.c:856:25: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness [-Wpointer-sign] 856 | strlcat(lhs_buffer, lhs_fillchar, | ^~~~~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc_std.h:21, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:109, from status.c:12: /usr/include/string.h:128:31: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 128 | extern size_t strlcat(char *, const char *, size_t); | ^~~~~~~~~~~~ status.c:868:13: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] 868 | strlcat(lhs_buffer, lhs_fillchar, | ^~~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc_std.h:21, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:109, from status.c:12: /usr/include/string.h:128:23: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 128 | extern size_t strlcat(char *, const char *, size_t); | ^~~~~~ status.c:868:25: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness [-Wpointer-sign] 868 | strlcat(lhs_buffer, lhs_fillchar, | ^~~~~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc_std.h:21, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:109, from status.c:12: /usr/include/string.h:128:31: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 128 | extern size_t strlcat(char *, const char *, size_t); | ^~~~~~~~~~~~ status.c:872:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 872 | strcpy(buffer, lhs_buffer); | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/string.h:34, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc_std.h:21, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:109, from status.c:12: /usr/include/iso/string_iso.h:75:21: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 75 | extern char *strcpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD); | ^ status.c:872:18: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 872 | strcpy(buffer, lhs_buffer); | ^~~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/string.h:34, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc_std.h:21, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:109, from status.c:12: /usr/include/iso/string_iso.h:75:43: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 75 | extern char *strcpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD); | ^ status.c:873:11: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] 873 | strlcat(buffer, rhs_buffer, sizeof buffer); | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc_std.h:21, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:109, from status.c:12: /usr/include/string.h:128:23: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 128 | extern size_t strlcat(char *, const char *, size_t); | ^~~~~~ status.c:873:19: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness [-Wpointer-sign] 873 | strlcat(buffer, rhs_buffer, sizeof buffer); | ^~~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc_std.h:21, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:109, from status.c:12: /usr/include/string.h:128:31: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 128 | extern size_t strlcat(char *, const char *, size_t); | ^~~~~~~~~~~~ status.c:874:11: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness [-Wpointer-sign] 874 | strlcat(buffer, ALL_OFF_STR, sizeof buffer); | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc_std.h:21, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:109, from status.c:12: /usr/include/string.h:128:23: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 128 | extern size_t strlcat(char *, const char *, size_t); | ^~~~~~ status.c:888:11: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 888 | strcmp(buffer, win->wset->status_line[status_line])) | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/string.h:34, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc_std.h:21, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:109, from status.c:12: /usr/include/iso/string_iso.h:74:19: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 74 | extern int strcmp(const char *, const char *); | ^~~~~~~~~~~~ In file included from status.c:38: /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/modval.h:119:126: warning: pointer targets in passing argument 2 of '(char * (*)(char **, const char *, const char *, const char *, int))*(global + 80)' differ in signedness [-Wpointer-sign] 119 | #define malloc_strcpy(x, y) ((char * (*)(char **, const char *, const char *, const char *, int))global[MALLOC_STRCPY])((x), (y), MODULENAME, __FILE__, __LINE__) | ^~~ | | | u_char * {aka unsigned char *} status.c:892:4: note: in expansion of macro 'malloc_strcpy' 892 | malloc_strcpy(&win->wset->status_line[status_line], buffer); | ^~~~~~~~~~~~~ /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/modval.h:119:126: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 119 | #define malloc_strcpy(x, y) ((char * (*)(char **, const char *, const char *, const char *, int))global[MALLOC_STRCPY])((x), (y), MODULENAME, __FILE__, __LINE__) | ^~~ status.c:892:4: note: in expansion of macro 'malloc_strcpy' 892 | malloc_strcpy(&win->wset->status_line[status_line], buffer); | ^~~~~~~~~~~~~ status.c:904:16: warning: pointer targets in passing argument 1 of '(int (*)(const unsigned char *))*(global + 2464)' differ in signedness [-Wpointer-sign] 904 | output_line(st); | ^~ | | | char * status.c:904:16: note: expected 'const unsigned char *' but argument is of type 'char *' status.c:689:7: warning: variable 'in_rhs' set but not used [-Wunused-but-set-variable] 689 | int in_rhs = 0, | ^~~~~~ gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c struct.c gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c tcl_public.c gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c ./term.c In file included from ./term.c:58: /home/pbulk/build/chat/bitchx/work/.buildlink/include/ncurses/term.h:507: warning: "goto_window" redefined 507 | #define goto_window CUR Strings[278] | In file included from ./term.c:47: /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/modval.h:322: note: this is the location of the previous definition 322 | #define goto_window (*(void (*)(Screen *, int))global[GOTO_WINDOW]) | gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c timer.c gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c user.c gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c userlist.c userlist.c: In function 'real_check_auto': userlist.c:905:7: warning: variable 'this_server' set but not used [-Wunused-but-set-variable] 905 | int this_server = from_server; | ^~~~~~~~~~~ userlist.c: In function 'check_channel_match': userlist.c:1443:12: warning: variable 'q' set but not used [-Wunused-but-set-variable] 1443 | char *p, *q, *chan = NULL; | ^ gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c vars.c vars.c: In function 'do_stack_set': vars.c:1055:16: warning: variable 'prev' set but not used [-Wunused-but-set-variable] 1055 | AliasStack1 *prev = NULL; | ^~~~ gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c who.c who.c: In function 'whoreply': who.c:402:15: warning: variable 'chan' set but not used [-Wunused-but-set-variable] 402 | ChannelList *chan = NULL; | ^~~~ gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c whowas.c gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c window.c window.c: In function 'BX_resize_window': window.c:694:6: warning: variable 'after' set but not used [-Wunused-but-set-variable] 694 | int after, | ^~~~~ window.c: In function 'window_describe': window.c:3001:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 3001 | if (window->bind_channel) | ^~ window.c:3004:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3004 | say("\tQuery User: %s %s", | ^~~ gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -c words.c gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -DIRCLIB=\"/opt/pkg/share/bx\" -DIRCPATH=\"~/.BitchX:~/.BitchX/plugins:.:/opt/pkg/share/bx/plugins:/opt/pkg/share/bx/script:/opt/pkg/share/bx\" -c ./irc.c ./irc.c: In function 'parse_args': ./irc.c:664:19: warning: unused variable 'hp' [-Wunused-variable] 664 | struct hostent * hp; | ^~ gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -DIRCLIB=\"/opt/pkg/share/bx\" -DSHLIB_SUFFIX=\".so\" -c ./ircaux.c ./ircaux.c: In function 'BX_my_strnstr': ./ircaux.c:776:36: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 776 | if (!strncasecmp(p, str2, strlen(str2))) | ^~~~ | | | const unsigned char * In file included from /usr/include/sys/socket_impl.h:56, from /usr/include/sys/socket.h:52, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:63, from ./ircaux.c:10: /usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'const unsigned char *' 76 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ ./ircaux.c:776:23: warning: pointer targets in passing argument 2 of 'strncasecmp' differ in signedness [-Wpointer-sign] 776 | if (!strncasecmp(p, str2, strlen(str2))) | ^~~~ | | | const unsigned char * In file included from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc_std.h:21, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:109, from ./ircaux.c:10: /usr/include/string.h:133:38: note: expected 'const char *' but argument is of type 'const unsigned char *' 133 | extern int strncasecmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ ./ircaux.c: In function 'BX_mangle_line': ./ircaux.c:2962:23: warning: pointer targets in passing argument 1 of '(unsigned char * (*)(const unsigned char *))*(global + 2568)' differ in signedness [-Wpointer-sign] 2962 | output = strip_ansi(incoming); | ^~~~~~~~ | | | char * ./ircaux.c:2962:23: note: expected 'const unsigned char *' but argument is of type 'char *' ./ircaux.c:2962:10: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 2962 | output = strip_ansi(incoming); | ^ ./ircaux.c:2984:34: warning: pointer targets in passing argument 1 of '(const unsigned char * (*)(const unsigned char *, int *, int *, int))*(global + 2560)' differ in signedness [-Wpointer-sign] 2984 | end = (char *)skip_ctl_c_seq(s, &lhs, &rhs, 0); | ^ | | | char * ./ircaux.c:2984:34: note: expected 'const unsigned char *' but argument is of type 'char *' gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -DPLUGINDIR=\"/opt/pkg/share/bx/plugins\" -DSHLIB_SUFFIX=\".so\" -c ./modules.c gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -DSCRIPT_PATH=\"/opt/pkg/share/bx/script\" -c ./notice.c ./notice.c: In function 'handle_oper_vision': ./notice.c:79:6: warning: variable 'dcount' set but not used [-Wunused-but-set-variable] 79 | int dcount; | ^~~~~~ ./notice.c: In function 'parse_server_notice': ./notice.c:624:11: warning: variable 'for_' set but not used [-Wunused-but-set-variable] 624 | char *for_; | ^~~~ ./notice.c: In function 'parse_notice': ./notice.c:748:33: warning: pointer targets in passing argument 1 of 'stripansi' differ in signedness [-Wpointer-sign] 748 | free_me = newline = stripansi(line); | ^~~~ | | | char * In file included from ./notice.c:33: /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/misc.h:78:19: note: expected 'unsigned char *' but argument is of type 'char *' 78 | char *stripansi (unsigned char *); | ^~~~~~~~~~~~~~~ ./notice.c: In function 'got_initial_version_28': ./notice.c:879:28: warning: variable 'user_modes' set but not used [-Wunused-but-set-variable] 879 | char *server, *sversion, *user_modes, *channel_modes; | ^~~~~~~~~~ gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -DWSERV_PATH=\"/opt/pkg/share/bx/wserv\" -c ./screen.c ./screen.c: In function 'BX_add_to_screen': ./screen.c:186:45: warning: pointer targets in passing argument 2 of 'target_window->output_func' differ in signedness [-Wpointer-sign] 186 | target_window->output_func(target_window, out); | ^~~ | | | char * ./screen.c:186:45: note: expected 'const unsigned char *' but argument is of type 'char *' ./screen.c:192:47: warning: pointer targets in passing argument 2 of 'current_window->output_func' differ in signedness [-Wpointer-sign] 192 | current_window->output_func(current_window, out); | ^~~ | | | char * ./screen.c:192:47: note: expected 'const unsigned char *' but argument is of type 'char *' ./screen.c: In function 'BX_add_to_window': ./screen.c:213:5: warning: pointer targets in passing argument 3 of 'redirect_text' differ in signedness [-Wpointer-sign] 213 | str, NULL, 0, 0); | ^~~ | | | const unsigned char * In file included from ./screen.c:20: /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/commands.h:31:41: note: expected 'const char *' but argument is of type 'const unsigned char *' 31 | void redirect_text (int, const char *, const char *, char *, int, int); | ^~~~~~~~~~~~ ./screen.c:219:33: warning: pointer targets in passing argument 3 of '(void (*)(FILE *, time_t, const char *, int))*(global + 32)' differ in signedness [-Wpointer-sign] 219 | add_to_log(window->log_fp, 0, str, window->mangler); | ^~~ | | | const unsigned char * ./screen.c:219:33: note: expected 'const char *' but argument is of type 'const unsigned char *' ./screen.c:220:26: warning: pointer targets in passing argument 2 of 'add_to_lastlog' differ in signedness [-Wpointer-sign] 220 | add_to_lastlog(window, str); | ^~~ | | | const unsigned char * In file included from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/window.h:17, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/screen.h:16, from ./screen.c:21: /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/lastlog.h:70:33: note: expected 'const char *' but argument is of type 'const unsigned char *' 70 | void add_to_lastlog (Window *, const char *); | ^~~~~~~~~~~~ ./screen.c:249:38: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 249 | if (window->beep_always && strchr(str, '\007')) | ^~~ | | | const unsigned char * In file included from /usr/include/string.h:34, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc_std.h:21, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:109, from ./screen.c:15: /usr/include/iso/string_iso.h:140:21: note: expected 'const char *' but argument is of type 'const unsigned char *' 140 | extern char *strchr(const char *, int); | ^~~~~~~~~~~~ ./screen.c: In function 'BX_prepare_display': ./screen.c:393:11: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 393 | *cont = empty_string, | ^~~~~~~~~~~~ ./screen.c:407:8: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 407 | words = (char *)get_string_var(WORD_BREAK_VAR); | ^ ./screen.c:410:9: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 410 | words = ", "; | ^ ./screen.c:411:17: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 411 | if (!(cont_ptr = (char *)get_string_var(CONTINUED_LINE_VAR))) | ^ ./screen.c:412:12: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 412 | cont_ptr = (char *)empty_string; | ^ ./screen.c:418:12: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 418 | orig_str = space; | ^ ./screen.c:578:31: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 578 | if (*ptr == ' ' || strchr(words, *ptr)) | ^~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/string.h:34, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc_std.h:21, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:109, from ./screen.c:15: /usr/include/iso/string_iso.h:140:21: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 140 | extern char *strchr(const char *, int); | ^~~~~~~~~~~~ In file included from ./screen.c:41: /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/modval.h:119:126: warning: pointer targets in passing argument 2 of '(char * (*)(char **, const char *, const char *, const char *, int))*(global + 80)' differ in signedness [-Wpointer-sign] 119 | #define malloc_strcpy(x, y) ((char * (*)(char **, const char *, const char *, const char *, int))global[MALLOC_STRCPY])((x), (y), MODULENAME, __FILE__, __LINE__) | ^~~ | | | u_char * {aka unsigned char *} ./screen.c:658:4: note: in expansion of macro 'malloc_strcpy' 658 | malloc_strcpy((char **)&(output[line++]), buffer); | ^~~~~~~~~~~~~ /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/modval.h:119:126: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 119 | #define malloc_strcpy(x, y) ((char * (*)(char **, const char *, const char *, const char *, int))global[MALLOC_STRCPY])((x), (y), MODULENAME, __FILE__, __LINE__) | ^~~ ./screen.c:658:4: note: in expansion of macro 'malloc_strcpy' 658 | malloc_strcpy((char **)&(output[line++]), buffer); | ^~~~~~~~~~~~~ ./screen.c:663:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 663 | (strlen(cont_ptr) < indent)) | ^~~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/sys/socket_impl.h:56, from /usr/include/sys/socket.h:52, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:63, from ./screen.c:15: /usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 76 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ ./screen.c:666:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 666 | sprintf(cont, "%-*s", indent, cont_ptr); | ^~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/stdio.h:82, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:35, from ./screen.c:15: /usr/include/iso/stdio_iso.h:212:20: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 212 | extern int sprintf(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, ...); | ^ In file included from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc_std.h:122, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:109, from ./screen.c:15: ./screen.c:674:29: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 674 | pos_copy = alloca(strlen(buffer) + strlen(cont) + 20); | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/sys/socket_impl.h:56, from /usr/include/sys/socket.h:52, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:63, from ./screen.c:15: /usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 76 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ In file included from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc_std.h:122, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:109, from ./screen.c:15: ./screen.c:674:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 674 | pos_copy = alloca(strlen(buffer) + strlen(cont) + 20); | ^~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/sys/socket_impl.h:56, from /usr/include/sys/socket.h:52, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:63, from ./screen.c:15: /usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 76 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ ./screen.c:675:11: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 675 | strcpy(pos_copy, buffer+word_break); | ^~~~~~~~ | | | unsigned char * In file included from /usr/include/string.h:34, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc_std.h:21, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:109, from ./screen.c:15: /usr/include/iso/string_iso.h:75:21: note: expected 'char * restrict' but argument is of type 'unsigned char *' 75 | extern char *strcpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD); | ^ ./screen.c:675:27: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 675 | strcpy(pos_copy, buffer+word_break); | ~~~~~~^~~~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/string.h:34, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc_std.h:21, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:109, from ./screen.c:15: /usr/include/iso/string_iso.h:75:43: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 75 | extern char *strcpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD); | ^ ./screen.c:677:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 677 | strcpy (buffer, cont); | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/string.h:34, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc_std.h:21, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:109, from ./screen.c:15: /usr/include/iso/string_iso.h:75:21: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 75 | extern char *strcpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD); | ^ ./screen.c:677:20: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 677 | strcpy (buffer, cont); | ^~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/string.h:34, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc_std.h:21, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:109, from ./screen.c:15: /usr/include/iso/string_iso.h:75:43: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 75 | extern char *strcpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD); | ^ ./screen.c:678:12: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 678 | strcat (buffer, pos_copy); | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/string.h:34, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc_std.h:21, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:109, from ./screen.c:15: /usr/include/iso/string_iso.h:73:21: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 73 | extern char *strcat(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD); | ^ ./screen.c:678:20: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] 678 | strcat (buffer, pos_copy); | ^~~~~~~~ | | | unsigned char * In file included from /usr/include/string.h:34, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc_std.h:21, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:109, from ./screen.c:15: /usr/include/iso/string_iso.h:73:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 73 | extern char *strcat(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD); | ^ ./screen.c:679:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 679 | col = pos = strlen(buffer); | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/sys/socket_impl.h:56, from /usr/include/sys/socket.h:52, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:63, from ./screen.c:15: /usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 76 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ In file included from ./screen.c:41: /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/modval.h:119:126: warning: pointer targets in passing argument 2 of '(char * (*)(char **, const char *, const char *, const char *, int))*(global + 80)' differ in signedness [-Wpointer-sign] 119 | #define malloc_strcpy(x, y) ((char * (*)(char **, const char *, const char *, const char *, int))global[MALLOC_STRCPY])((x), (y), MODULENAME, __FILE__, __LINE__) | ^~~ | | | u_char * {aka unsigned char *} ./screen.c:696:3: note: in expansion of macro 'malloc_strcpy' 696 | malloc_strcpy((char **)&(output[line++]),buffer); | ^~~~~~~~~~~~~ /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/modval.h:119:126: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 119 | #define malloc_strcpy(x, y) ((char * (*)(char **, const char *, const char *, const char *, int))global[MALLOC_STRCPY])((x), (y), MODULENAME, __FILE__, __LINE__) | ^~~ ./screen.c:696:3: note: in expansion of macro 'malloc_strcpy' 696 | malloc_strcpy((char **)&(output[line++]),buffer); | ^~~~~~~~~~~~~ ./screen.c:370:6: warning: variable 'gchar_mode' set but not used [-Wunused-but-set-variable] 370 | int gchar_mode; | ^~~~~~~~~~ In file included from ./screen.c:41: ./screen.c: In function 'add_to_scratch_window_display_list': /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/modval.h:119:126: warning: pointer targets in passing argument 2 of '(char * (*)(char **, const char *, const char *, const char *, int))*(global + 80)' differ in signedness [-Wpointer-sign] 119 | #define malloc_strcpy(x, y) ((char * (*)(char **, const char *, const char *, const char *, int))global[MALLOC_STRCPY])((x), (y), MODULENAME, __FILE__, __LINE__) | ^~~ | | | const unsigned char * ./screen.c:760:2: note: in expansion of macro 'malloc_strcpy' 760 | malloc_strcpy(&my_line->line, str); | ^~~~~~~~~~~~~ /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/modval.h:119:126: note: expected 'const char *' but argument is of type 'const unsigned char *' 119 | #define malloc_strcpy(x, y) ((char * (*)(char **, const char *, const char *, const char *, int))global[MALLOC_STRCPY])((x), (y), MODULENAME, __FILE__, __LINE__) | ^~~ ./screen.c:760:2: note: in expansion of macro 'malloc_strcpy' 760 | malloc_strcpy(&my_line->line, str); | ^~~~~~~~~~~~~ ./screen.c: In function 'add_to_display_list': /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/modval.h:119:126: warning: pointer targets in passing argument 2 of '(char * (*)(char **, const char *, const char *, const char *, int))*(global + 80)' differ in signedness [-Wpointer-sign] 119 | #define malloc_strcpy(x, y) ((char * (*)(char **, const char *, const char *, const char *, int))global[MALLOC_STRCPY])((x), (y), MODULENAME, __FILE__, __LINE__) | ^~~ | | | const unsigned char * ./screen.c:815:2: note: in expansion of macro 'malloc_strcpy' 815 | malloc_strcpy(&window->display_ip->line, str); | ^~~~~~~~~~~~~ /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/modval.h:119:126: note: expected 'const char *' but argument is of type 'const unsigned char *' 119 | #define malloc_strcpy(x, y) ((char * (*)(char **, const char *, const char *, const char *, int))global[MALLOC_STRCPY])((x), (y), MODULENAME, __FILE__, __LINE__) | ^~~ ./screen.c:815:2: note: in expansion of macro 'malloc_strcpy' 815 | malloc_strcpy(&window->display_ip->line, str); | ^~~~~~~~~~~~~ ./screen.c: In function 'BX_repaint_window': ./screen.c:1436:25: warning: pointer targets in passing argument 2 of 'rite' differ in signedness [-Wpointer-sign] 1436 | rite(window, curr_line->line); | ~~~~~~~~~^~~~~~ | | | char * ./screen.c:889:47: note: expected 'const unsigned char *' but argument is of type 'char *' 889 | int rite(Window *window, const unsigned char *str) | ~~~~~~~~~~~~~~~~~~~~~^~~ ./screen.c: In function 'BX_create_additional_screen': ./screen.c:1554:18: warning: variable 'oldscreen' set but not used [-Wunused-but-set-variable] 1554 | Screen *oldscreen, *new; | ^~~~~~~~~ ./screen.c: In function 'do_screens': ./screen.c:1875:15: warning: pointer targets in passing argument 1 of '(int (*)(char *, int, int, int, void *))*(global + 2416)' differ in signedness [-Wpointer-sign] 1875 | if (dgets(buffer, screen->fdin, 0, IO_BUFFER_SIZE, NULL)) | ^~~~~~ | | | unsigned char * ./screen.c:1875:15: note: expected 'char *' but argument is of type 'unsigned char *' ./screen.c:1877:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1877 | *(buffer + strlen(buffer) - 1) = '\0'; | ^~~~~~ | | | unsigned char * In file included from /usr/include/sys/socket_impl.h:56, from /usr/include/sys/socket.h:52, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:63, from ./screen.c:15: /usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'unsigned char *' 76 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ ./screen.c:1879:24: warning: pointer targets in passing argument 2 of '(void (*)(const char *, char *, const char *, int, int, int))*(global + 3344)' differ in signedness [-Wpointer-sign] 1879 | parse_line(NULL, buffer, empty_string, 1, 0, 1); | ^~~~~~ | | | unsigned char * ./screen.c:1879:24: note: expected 'char *' but argument is of type 'unsigned char *' ./screen.c:1881:24: warning: pointer targets in passing argument 2 of '(void (*)(const char *, char *, const char *, int, int, int))*(global + 3344)' differ in signedness [-Wpointer-sign] 1881 | parse_line(NULL, buffer, NULL, 1, 0, 1); | ^~~~~~ | | | unsigned char * ./screen.c:1881:24: note: expected 'char *' but argument is of type 'unsigned char *' ./screen.c: In function 'BX_strip_ansi': ./screen.c:2336:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2336 | maxpos = strlen(str); | ^~~ | | | const unsigned char * In file included from /usr/include/sys/socket_impl.h:56, from /usr/include/sys/socket.h:52, from /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include/irc.h:63, from ./screen.c:15: /usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'const unsigned char *' 76 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ gcc -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -I/home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/include -I../include -I. -I./include -DHAVE_CONFIG_H -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -fno-strict-aliasing -Wall -DTRANSLATION_PATH=\"/opt/pkg/share/bx/translation\" -c ./translat.c gcc -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -o BitchX alias.o alist.o array.o art.o banlist.o bot_link.o cdcc.o cdns.o chelp.o commands.o commands2.o compat.o cset.o ctcp.o dcc.o debug.o encrypt.o exec.o files.o flood.o fset.o functions.o funny.o glob.o hash.o hebrew.o help.o history.o hook.o if.o ignore.o input.o irc.o ircaux.o ircsig.o keys.o lastlog.o list.o log.o mail.o misc.o modules.o names.o network.o newio.o notice.o notify.o numbers.o output.o parse.o queue.o readlog.o reg.o screen.o server.o stack.o status.o struct.o tcl_public.o term.o timer.o translat.o user.o userlist.o vars.o who.o whowas.o window.o words.o -ltinfo -lssl -lcrypto -lsocket -lnsl -lresolv -lm -lcrypt Undefined first referenced symbol in file unary alias.o operator alias.o check_implied_arg alias.o ld: fatal: symbol referencing errors. No output written to BitchX collect2: error: ld returned 1 exit status *** [BitchX] Error code 1 make[1]: stopped in /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/source 1 error make[1]: stopped in /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1/source *** [BitchX] Error code 2 bmake: stopped in /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1 1 error bmake: stopped in /home/pbulk/build/chat/bitchx/work/bitchx-1.2.1 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/chat/bitchx *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/chat/bitchx