Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tabl@tabl-15U340-L-BK35P1:~$ cd /home/tabl/BitchX/
- tabl@tabl-15U340-L-BK35P1:~/BitchX$ ./configure
- Welcome to the BitchX-1.1-final configuration
- checking for gcc... gcc
- checking for C compiler default output... a.out
- checking whether the C compiler works... yes
- checking whether we are cross compiling... no
- checking for suffix of executables...
- checking for suffix of object files... o
- checking whether we are using the GNU C compiler... yes
- checking whether gcc accepts -g... yes
- checking for a BSD-compatible install... /usr/bin/install -c
- checking whether build environment is sane... yes
- checking whether ln -s works... yes
- checking for gmake... no
- checking for make... make
- checking whether make sets ${MAKE}... yes
- checking how to run the C preprocessor... gcc -E
- checking whether gcc needs -traditional... no
- checking for library containing strerror... none required
- checking for AIX... no
- checking for gawk... no
- checking for mawk... mawk
- checking for getpwnam in -lsun... no
- checking for inet_addr in -ldgc... no
- checking for res_mkquery in -lresolv... no
- checking for res_mkquery in -lc... no
- checking for crypt in -lcrypt... yes
- checking for pow in -lm... yes
- checking for dirent.h that defines DIR... yes
- checking for library containing opendir... none required
- checking for ANSI C header files... yes
- checking for sys/types.h... yes
- checking for sys/stat.h... yes
- checking for stdlib.h... yes
- checking for string.h... yes
- checking for memory.h... yes
- checking for strings.h... yes
- checking for inttypes.h... yes
- checking for stdint.h... yes
- checking for unistd.h... yes
- checking arpa/inet.h usability... yes
- checking arpa/inet.h presence... yes
- checking for arpa/inet.h... yes
- checking net/if.h usability... yes
- checking net/if.h presence... yes
- checking for net/if.h... yes
- checking sys/time.h usability... yes
- checking sys/time.h presence... yes
- checking for sys/time.h... yes
- checking sys/fcntl.h usability... yes
- checking sys/fcntl.h presence... yes
- checking for sys/fcntl.h... yes
- checking fcntl.h usability... yes
- checking fcntl.h presence... yes
- checking for fcntl.h... yes
- checking sys/file.h usability... yes
- checking sys/file.h presence... yes
- checking for sys/file.h... yes
- checking sys/syslimits.h usability... no
- checking sys/syslimits.h presence... no
- checking for sys/syslimits.h... no
- checking netinet/in_systm.h usability... yes
- checking netinet/in_systm.h presence... yes
- checking for netinet/in_systm.h... yes
- checking sys/in_systm.h usability... no
- checking sys/in_systm.h presence... no
- checking for sys/in_systm.h... no
- checking netdb.h usability... yes
- checking netdb.h presence... yes
- checking for netdb.h... yes
- checking sys/un.h usability... yes
- checking sys/un.h presence... yes
- checking for sys/un.h... yes
- checking sys/filio.h usability... no
- checking sys/filio.h presence... no
- checking for sys/filio.h... no
- checking regex.h usability... yes
- checking regex.h presence... yes
- checking for regex.h... yes
- checking resolv.h usability... yes
- checking resolv.h presence... yes
- checking for resolv.h... yes
- checking arpa/nameser.h usability... yes
- checking arpa/nameser.h presence... yes
- checking for arpa/nameser.h... yes
- checking dirent.h usability... yes
- checking dirent.h presence... yes
- checking for dirent.h... yes
- checking sys/ndir.h usability... no
- checking sys/ndir.h presence... no
- checking for sys/ndir.h... no
- checking sys/dir.h usability... yes
- checking sys/dir.h presence... yes
- checking for sys/dir.h... yes
- checking ndir.h usability... no
- checking ndir.h presence... no
- checking for ndir.h... no
- checking for stpcpy in string.h... yes
- checking for getpgid in unistd.h... no
- checking for killpg in signal.h... yes
- checking for getpass in unistd.h... yes
- checking for errno in errno.h... no
- checking for struct linger in sys/socket.h... yes
- checking for sun_len in sys/un.h... no
- checking for bcopy in string.h... yes
- checking for gcc option to accept ANSI C... none needed
- checking for an ANSI C-conforming const... yes
- checking for uid_t in sys/types.h... yes
- checking for inline... inline
- checking for mode_t... yes
- checking for off_t... yes
- checking for pid_t... yes
- checking for size_t... yes
- checking return type of signal handlers... void
- checking for sys_siglist declaration in signal.h or unistd.h... yes
- checking whether time.h and sys/time.h may both be included... yes
- checking for unsigned int... yes
- checking size of unsigned int... 4
- checking for working alloca.h... yes
- checking for alloca... yes
- checking whether getpgrp requires zero arguments... yes
- checking whether setpgrp takes no argument... yes
- checking for strftime... yes
- checking for socket... yes
- checking for gethostname... yes
- checking for gettimeofday... yes
- checking for strtoul... yes
- checking for strlcpy... no
- checking for strlcat... no
- checking for stpcpy... yes
- checking for vsnprintf... yes
- checking for snprintf... yes
- checking for setsid... yes
- checking for strerror... yes
- checking for uname... yes
- checking for getrusage... yes
- checking for sysconf... yes
- checking for getpgid... yes
- checking for killpg... yes
- checking for getlogin... yes
- checking for realpath... yes
- checking for fchdir... yes
- checking for getpass... yes
- checking for fpathconf... yes
- checking for getpwent... yes
- checking for setvbuf... yes
- checking for select... yes
- checking for mkstemp... yes
- checking for memmove... yes
- checking for scandir... yes
- checking for gethostbyname... yes
- checking for connect... yes
- checking for inet_aton... yes
- checking whether setvbuf arguments are reversed... no
- checking for non-blocking type... posix
- checking for a list of signal names... yes
- checking whether to enable GTK support... no
- checking whether to enable Win32 GUI support... no
- checking whether to enable OS/2 PM support... no
- checking whether to enable sound support... no
- checking whether to enable SSL support... no
- checking whether to use use tgetent or setupterm... setupterm
- checking for setupterm in -lncurses... yes
- checking for tparm in ncurses.h... yes
- checking for tparm in -lncurses... yes
- checking ncurses.h usability... yes
- checking ncurses.h presence... yes
- checking for ncurses.h... yes
- checking ncurses/termcap.h usability... no
- checking ncurses/termcap.h presence... no
- checking for ncurses/termcap.h... no
- checking termcap.h usability... yes
- checking termcap.h presence... yes
- checking for termcap.h... yes
- checking for tputs in ncurses/termcap.h... no
- checking for tputs in termcap.h... (cached) no
- checking for tputs in -lncurses... yes
- checking whether to enable Tcl support... no
- checking for unix mail directory... /var/spool/mail
- checking for default server list... none
- checking whether to enable IPv6 support... no
- checking whether to enable SOCKS support... no
- checking whether to enable CD-ROM support... no
- checking whether to enable dmalloc debugging support... no
- checking whether to enable plugin support... not building with plugin support - you will not be able to use plugins
- configure: creating ./config.status
- config.status: creating Makefile
- config.status: creating BitchX.spec
- config.status: creating gtkBitchX.spec
- config.status: creating bx-conf/Makefile
- config.status: creating doc/BitchX.bat
- config.status: creating doc/Makefile
- config.status: creating dll/Makefile
- config.status: creating dll/abot/Makefile
- config.status: creating dll/acro/Makefile
- config.status: creating dll/aim/Makefile
- config.status: creating dll/aim/toc/Makefile
- config.status: creating dll/amp/Makefile
- config.status: creating dll/arcfour/Makefile
- config.status: creating dll/autocycle/Makefile
- config.status: creating dll/aim/Makefile
- config.status: creating dll/blowfish/Makefile
- config.status: creating dll/cavlink/Makefile
- config.status: creating dll/cdrom/Makefile
- config.status: creating dll/encrypt/Makefile
- config.status: creating dll/europa/Makefile
- config.status: creating dll/fserv/Makefile
- config.status: creating dll/hint/Makefile
- config.status: creating dll/identd/Makefile
- config.status: creating dll/nap/Makefile
- config.status: creating dll/nicklist/Makefile
- config.status: creating dll/pkga/Makefile
- config.status: creating dll/possum/Makefile
- config.status: creating dll/qbx/Makefile
- config.status: creating dll/qmail/Makefile
- config.status: creating dll/scan/Makefile
- config.status: creating dll/wavplay/Makefile
- config.status: creating dll/xmms/Makefile
- config.status: creating source/Makefile
- config.status: creating include/defs.h
- config.status: include/defs.h is unchanged
- config.status: executing default commands
- BitchX (c) 1996-2002 Colten Edwards
- ----------------------------------------------------------
- The configuration script has finished. You should look through
- "include/config.h" and make any changes you would like to make.
- Now type "make" to compile BitchX.
- tabl@tabl-15U340-L-BK35P1:~/BitchX$
- tabl@tabl-15U340-L-BK35P1:~/BitchX$ make
- cd source \
- && make 'local_dir=/home/tabl' 'INSTALL_IRC=/usr/local/bin/BitchX' 'IRCLIB=/usr/local/lib/bx' 'CC=gcc' 'CFLAGS=-g -O2 -Wall' 'HELPDIR=/usr/local/lib/bx/help' 'INSTALL_WSERV=/usr/local/lib/bx/wserv' 'IRCPATH=~/.BitchX:~/.BitchX/plugins:.:/usr/local/lib/bx/plugins:/usr/local/lib/bx/script:/usr/local/lib/bx' 'TRANSLATION_PATH=/usr/local/lib/bx/translation' 'LDFLAGS=' 'LIBS=-lncurses -lm -lcrypt' 'LN=ln -s' 'RM=rm -f' 'TCL_SRCS=' 'TCL_OBJS=' 'CD_PLAY=' 'CD_SRCS=' 'CD_OBJS=' 'TCL_LIBS=' 'PLUGINDIR=/usr/local/lib/bx/plugins' '_VERSION_=BitchX' 'VERSION=BitchX-1.1-final' 'INSTALL_DATA=/usr/bin/install -c -m 644' 'INSTALL_SCRIPT=/usr/local/lib/bx/script' 'EXEEXT=' 'SHLIB_CFLAGS=' 'SHLIB_SUFFIX=.so' all
- make[1]: Entering directory '/home/tabl/BitchX/source'
- gcc -I. -I/home/tabl/BitchX/include -I../include -I. -I./include -g -O2 -Wall -c commands2.c
- In file included from commands2.c:83:0:
- commands2.c: In function ‘nwhois’:
- /home/tabl/BitchX/include/modval.h:549:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_server_channels(x) ((ChannelList *) (global[GET_SERVER_CHANNELS]((i
- ^
- commands2.c:118:14: note: in expansion of macro ‘get_server_channels’
- if (!(tmp = get_server_channels(server)))
- ^
- /home/tabl/BitchX/include/modval.h:191:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define m_strdup(x) ((char *)(global[M_STRDUP]((char *)x, MODULENAME, __FILE__,
- ^
- commands2.c:125:13: note: in expansion of macro ‘m_strdup’
- t = arg = m_strdup(args);
- ^
- /home/tabl/BitchX/include/modval.h:341:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_current_channel_by_refnum(x) ((char *) (global[GET_CURRENT_CHANNEL_
- ^
- commands2.c:129:10: note: in expansion of macro ‘get_current_channel_by_refnum’
- nick = get_current_channel_by_refnum(0);
- ^
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:132:24: note: in expansion of macro ‘next_arg’
- while (all || (nick = next_arg(arg, &arg)))
- ^
- /home/tabl/BitchX/include/modval.h:438:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_nicklist(x, y) ((NickList *) (global[NEXT_NICKLIST] ((ChannelList
- ^
- commands2.c:141:16: note: in expansion of macro ‘next_nicklist’
- for (user = next_nicklist(tmp, NULL); user; user = next_nicklist(tmp, user))
- ^
- /home/tabl/BitchX/include/modval.h:438:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_nicklist(x, y) ((NickList *) (global[NEXT_NICKLIST] ((ChannelList
- ^
- commands2.c:141:55: note: in expansion of macro ‘next_nicklist’
- for (user = next_nicklist(tmp, NULL); user; user = next_nicklist(tmp, user))
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:183:2: note: in expansion of macro ‘new_free’
- new_free(&t);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:183:2: note: in expansion of macro ‘new_free’
- new_free(&t);
- ^
- In file included from commands2.c:83:0:
- commands2.c: In function ‘add_ban_word’:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:204:10: note: in expansion of macro ‘next_arg’
- chan = next_arg(args, &args);
- ^
- /home/tabl/BitchX/include/modval.h:226:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define find_in_list(x, y, z) ((List *) (global[FIND_IN_LIST]((List **)x, (char
- ^
- commands2.c:209:26: note: in expansion of macro ‘find_in_list’
- new = (WordKickList *)find_in_list((List **)&ban_words, args, 0);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:111:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_malloc(x) ((void *)(global[NEW_MALLOC]((x),MODULENAME, __FILE__,__L
- ^
- commands2.c:212:28: note: in expansion of macro ‘new_malloc’
- new = (WordKickList *) new_malloc(sizeof(WordKickList));
- ^
- /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:213:5: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&new->channel, chan);
- ^
- /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:213:5: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&new->channel, chan);
- ^
- /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:214:5: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&new->string, args);
- ^
- /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:214:5: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&new->string, args);
- ^
- /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:222:4: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&word, args);
- ^
- /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:222:4: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&word, args);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:230:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define removewild_from_list(x, y) ((List *) (global[REMOVEWILD_FROM_LIST]((Lis
- ^
- commands2.c:223:35: note: in expansion of macro ‘removewild_from_list’
- while ((new = (WordKickList *) removewild_from_list((List **)&ban_words, wor
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:226:5: note: in expansion of macro ‘new_free’
- new_free(&new->channel);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:226:5: note: in expansion of macro ‘new_free’
- new_free(&new->channel);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:227:5: note: in expansion of macro ‘new_free’
- new_free(&new->string);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:227:5: note: in expansion of macro ‘new_free’
- new_free(&new->string);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:228:5: note: in expansion of macro ‘new_free’
- new_free((char **)&new);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:228:5: note: in expansion of macro ‘new_free’
- new_free((char **)&new);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:233:4: note: in expansion of macro ‘new_free’
- new_free(&word);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:233:4: note: in expansion of macro ‘new_free’
- new_free(&word);
- ^
- In file included from commands2.c:83:0:
- commands2.c: In function ‘check_mode_lock’:
- /home/tabl/BitchX/include/modval.h:433:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define lookup_channel(x, y, z) ((ChannelList *) (global[LOOKUP_CHANNEL]((char
- ^
- commands2.c:310:14: note: in expansion of macro ‘lookup_channel’
- if ((chan = lookup_channel(channel, server, 0)) && chan->modelock_key)
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:321:3: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&modelock, chan->modelock_key);
- ^
- /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:321:3: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&modelock, chan->modelock_key);
- ^
- /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:322:3: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&new_mode_list, mode_list);
- ^
- /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:322:3: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&new_mode_list, mode_list);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:325:19: note: in expansion of macro ‘next_arg’
- new_mode_list = next_arg(new_mode_list, &args1);
- ^
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:326:14: note: in expansion of macro ‘next_arg’
- modelock = next_arg(modelock, &args);
- ^
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:345:14: note: in expansion of macro ‘next_arg’
- key = next_arg(args1, &args1);
- ^
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:351:14: note: in expansion of macro ‘next_arg’
- key = next_arg(args, &args);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:167:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define ltoa(x) ((char *) (global[LTOA]((long)x)))
- ^
- commands2.c:380:24: note: in expansion of macro ‘ltoa’
- strcat(buffer, ltoa(limit));
- ^
- commands2.c:409:26: warning: the address of ‘buffer’ will always evaluate as ‘true’ [-Waddress]
- if (chan && chan->chop && buffer)
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:411:3: note: in expansion of macro ‘new_free’
- new_free(&save);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:411:3: note: in expansion of macro ‘new_free’
- new_free(&save);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:412:3: note: in expansion of macro ‘new_free’
- new_free(&save1);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:412:3: note: in expansion of macro ‘new_free’
- new_free(&save1);
- ^
- In file included from commands2.c:83:0:
- commands2.c: In function ‘mode_lock’:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:434:7: note: in expansion of macro ‘next_arg’
- t = next_arg(args, &args);
- ^
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:438:8: note: in expansion of macro ‘next_arg’
- t = next_arg(args, &args);
- ^
- /home/tabl/BitchX/include/modval.h:341:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_current_channel_by_refnum(x) ((char *) (global[GET_CURRENT_CHANNEL_
- ^
- commands2.c:440:14: note: in expansion of macro ‘get_current_channel_by_refnum’
- channel = get_current_channel_by_refnum(0);
- ^
- /home/tabl/BitchX/include/modval.h:433:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define lookup_channel(x, y, z) ((ChannelList *) (global[LOOKUP_CHANNEL]((char
- ^
- commands2.c:446:15: note: in expansion of macro ‘lookup_channel’
- if ((chan = lookup_channel(channel, from_server, 0)))
- ^
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:497:14: note: in expansion of macro ‘next_arg’
- key = next_arg(args, &args);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:524:4: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&buffer, valid_mode);
- ^
- /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:524:4: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&buffer, valid_mode);
- ^
- /home/tabl/BitchX/include/modval.h:115:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define malloc_strcat(x, y) ((char *)(global[MALLOC_STRCAT]((char **)x, (char *
- ^
- commands2.c:527:5: note: in expansion of macro ‘malloc_strcat’
- malloc_strcat(&buffer, space);
- ^
- /home/tabl/BitchX/include/modval.h:115:30: warning: value computed is not used [-Wunused-value]
- #define malloc_strcat(x, y) ((char *)(global[MALLOC_STRCAT]((char **)x, (char *
- ^
- commands2.c:527:5: note: in expansion of macro ‘malloc_strcat’
- malloc_strcat(&buffer, space);
- ^
- /home/tabl/BitchX/include/modval.h:115:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define malloc_strcat(x, y) ((char *)(global[MALLOC_STRCAT]((char **)x, (char *
- ^
- commands2.c:528:5: note: in expansion of macro ‘malloc_strcat’
- malloc_strcat(&buffer, key);
- ^
- /home/tabl/BitchX/include/modval.h:115:30: warning: value computed is not used [-Wunused-value]
- #define malloc_strcat(x, y) ((char *)(global[MALLOC_STRCAT]((char **)x, (char *
- ^
- commands2.c:528:5: note: in expansion of macro ‘malloc_strcat’
- malloc_strcat(&buffer, key);
- ^
- /home/tabl/BitchX/include/modval.h:115:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define malloc_strcat(x, y) ((char *)(global[MALLOC_STRCAT]((char **)x, (char *
- ^
- commands2.c:532:5: note: in expansion of macro ‘malloc_strcat’
- malloc_strcat(&buffer, space);
- ^
- /home/tabl/BitchX/include/modval.h:115:30: warning: value computed is not used [-Wunused-value]
- #define malloc_strcat(x, y) ((char *)(global[MALLOC_STRCAT]((char **)x, (char *
- ^
- commands2.c:532:5: note: in expansion of macro ‘malloc_strcat’
- malloc_strcat(&buffer, space);
- ^
- /home/tabl/BitchX/include/modval.h:167:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define ltoa(x) ((char *) (global[LTOA]((long)x)))
- ^
- /home/tabl/BitchX/include/modval.h:115:81: note: in definition of macro ‘malloc_strcat’
- oc_strcat(x, y) ((char *)(global[MALLOC_STRCAT]((char **)x, (char *)y, MODULENA
- ^
- commands2.c:533:28: note: in expansion of macro ‘ltoa’
- malloc_strcat(&buffer, ltoa(limit));
- ^
- /home/tabl/BitchX/include/modval.h:115:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define malloc_strcat(x, y) ((char *)(global[MALLOC_STRCAT]((char **)x, (char *
- ^
- commands2.c:533:5: note: in expansion of macro ‘malloc_strcat’
- malloc_strcat(&buffer, ltoa(limit));
- ^
- /home/tabl/BitchX/include/modval.h:115:30: warning: value computed is not used [-Wunused-value]
- #define malloc_strcat(x, y) ((char *)(global[MALLOC_STRCAT]((char **)x, (char *
- ^
- commands2.c:533:5: note: in expansion of macro ‘malloc_strcat’
- malloc_strcat(&buffer, ltoa(limit));
- ^
- /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:537:5: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&chan->modelock_key, buffer);
- ^
- /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:537:5: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&chan->modelock_key, buffer);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:549:7: note: in expansion of macro ‘next_arg’
- t = next_arg(args, &args);
- ^
- /home/tabl/BitchX/include/modval.h:433:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define lookup_channel(x, y, z) ((ChannelList *) (global[LOOKUP_CHANNEL]((char
- ^
- commands2.c:552:16: note: in expansion of macro ‘lookup_channel’
- if ((chan = lookup_channel(t, from_server, 0)))
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:554:5: note: in expansion of macro ‘new_free’
- new_free(&chan->modelock_key);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:554:5: note: in expansion of macro ‘new_free’
- new_free(&chan->modelock_key);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:549:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_server_channels(x) ((ChannelList *) (global[GET_SERVER_CHANNELS]((i
- ^
- commands2.c:562:16: note: in expansion of macro ‘get_server_channels’
- for (chan = get_server_channels(from_server); chan; chan = chan->next)
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:564:5: note: in expansion of macro ‘new_free’
- new_free(&chan->modelock_key);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:564:5: note: in expansion of macro ‘new_free’
- new_free(&chan->modelock_key);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:549:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_server_channels(x) ((ChannelList *) (global[GET_SERVER_CHANNELS]((i
- ^
- commands2.c:574:16: note: in expansion of macro ‘get_server_channels’
- for (chan = get_server_channels(from_server); chan; chan = chan->next)
- ^
- commands2.c: In function ‘randomnick’:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:587:14: note: in expansion of macro ‘next_arg’
- while ((p = next_arg(args, &args)))
- ^
- /home/tabl/BitchX/include/modval.h:270:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define random_str(x, y) ((char *) (global[RANDOM_STR]((int)x, (int)y)))
- ^
- commands2.c:601:59: note: in expansion of macro ‘random_str’
- send_to_server("NICK %s%s", prefix?prefix:empty_string, random_str(3,9-len));
- ^
- commands2.c: In function ‘topic_lock’:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:614:6: note: in expansion of macro ‘next_arg’
- t = next_arg(args, &args);
- ^
- /home/tabl/BitchX/include/modval.h:411:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define make_channel(x) ((char *) (global[MAKE_CHANNEL]((char *)x)))
- ^
- commands2.c:617:13: note: in expansion of macro ‘make_channel’
- channel = make_channel(t);
- ^
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:620:7: note: in expansion of macro ‘next_arg’
- t = next_arg(args, &args);
- ^
- /home/tabl/BitchX/include/modval.h:341:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_current_channel_by_refnum(x) ((char *) (global[GET_CURRENT_CHANNEL_
- ^
- commands2.c:622:13: note: in expansion of macro ‘get_current_channel_by_refnum’
- channel = get_current_channel_by_refnum(0);
- ^
- /home/tabl/BitchX/include/modval.h:433:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define lookup_channel(x, y, z) ((ChannelList *) (global[LOOKUP_CHANNEL]((char
- ^
- commands2.c:624:14: note: in expansion of macro ‘lookup_channel’
- if ((chan = lookup_channel(channel, from_server, 0)))
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:632:55: note: in expansion of macro ‘on_off’
- bitchsay("Topic lock for [%s] - %s", chan->channel, on_off(chan->topic_lock))
- ^
- In file included from commands2.c:83:0:
- commands2.c: In function ‘sping’:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:660:19: note: in expansion of macro ‘next_arg’
- while ((sname = next_arg(args, &args)))
- ^
- /home/tabl/BitchX/include/modval.h:533:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_server_itsname(x) ((char *) (global[GET_SERVER_ITSNAME]((int)x)))
- ^
- commands2.c:663:19: note: in expansion of macro ‘get_server_itsname’
- if (!(sname = get_server_itsname(from_server)))
- ^
- /home/tabl/BitchX/include/modval.h:532:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_server_name(x) ((char *) (global[GET_SERVER_NAME]((int)x)))
- ^
- commands2.c:664:14: note: in expansion of macro ‘get_server_name’
- sname = get_server_name(from_server);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:111:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_malloc(x) ((void *)(global[NEW_MALLOC]((x),MODULENAME, __FILE__,__L
- ^
- commands2.c:670:10: note: in expansion of macro ‘new_malloc’
- tmp = new_malloc(sizeof(Sping));
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:191:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define m_strdup(x) ((char *)(global[M_STRDUP]((char *)x, MODULENAME, __FILE__,
- ^
- commands2.c:671:17: note: in expansion of macro ‘m_strdup’
- tmp->sname = m_strdup(sname);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:532:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_server_name(x) ((char *) (global[GET_SERVER_NAME]((int)x)))
- ^
- /home/tabl/BitchX/include/modval.h:125:101: note: in definition of macro ‘my_stricmp’
- ((int)(global[MY_STRICMP]((const unsigned char *)x, (const unsigned char *)y)))
- ^
- commands2.c:679:27: note: in expansion of macro ‘get_server_name’
- if (!my_stricmp(sname, get_server_name(from_server)) || !my_stricmp(sname, g
- ^
- /home/tabl/BitchX/include/modval.h:533:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_server_itsname(x) ((char *) (global[GET_SERVER_ITSNAME]((int)x)))
- ^
- /home/tabl/BitchX/include/modval.h:125:101: note: in definition of macro ‘my_stricmp’
- ((int)(global[MY_STRICMP]((const unsigned char *)x, (const unsigned char *)y)))
- ^
- commands2.c:679:79: note: in expansion of macro ‘get_server_itsname’
- _stricmp(sname, get_server_name(from_server)) || !my_stricmp(sname, get_server_
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:533:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_server_itsname(x) ((char *) (global[GET_SERVER_ITSNAME]((int)x)))
- ^
- commands2.c:687:6: note: in expansion of macro ‘get_server_itsname’
- get_server_itsname(from_server) ?
- ^
- /home/tabl/BitchX/include/modval.h:533:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_server_itsname(x) ((char *) (global[GET_SERVER_ITSNAME]((int)x)))
- ^
- commands2.c:688:6: note: in expansion of macro ‘get_server_itsname’
- get_server_itsname(from_server) :
- ^
- /home/tabl/BitchX/include/modval.h:532:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_server_name(x) ((char *) (global[GET_SERVER_NAME]((int)x)))
- ^
- commands2.c:689:6: note: in expansion of macro ‘get_server_name’
- get_server_name(from_server), sname);
- ^
- In file included from commands2.c:83:0:
- commands2.c: In function ‘tog_fprot’:
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:750:46: note: in expansion of macro ‘on_off’
- bitchsay("Toggled flood protection - [%s]", on_off(here));
- ^
- commands2.c: In function ‘do_toggle’:
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:777:168: note: in expansion of macro ‘on_off’
- tion %K[%W$[-3]1%K] %Cbeep%c %K[%W$[-3]2%K]", "%s %s %s", on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:777:208: note: in expansion of macro ‘on_off’
- K[%W$[-3]2%K]", "%s %s %s", on_off(get_int_var(AUTO_NSLOOKUP_VAR)), on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:777:256: note: in expansion of macro ‘on_off’
- UTO_NSLOOKUP_VAR)), on_off(get_int_var(CTCP_FLOOD_PROTECTION_VAR)), on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:778:168: note: in expansion of macro ‘on_off’
- %K[%W$[-3]1%K] %Ckickf%clood %K[%W$[-3]2%K]", "%s %s %s", on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:778:203: note: in expansion of macro ‘on_off’
- d %K[%W$[-3]2%K]", "%s %s %s", on_off(get_int_var(PUBFLOOD_VAR)), on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:778:246: note: in expansion of macro ‘on_off’
- _int_var(PUBFLOOD_VAR)), on_off(get_int_var(FLOOD_PROTECTION_VAR)), on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:779:168: note: in expansion of macro ‘on_off’
- %K[%W$[-3]1%K] %Cmsg%clog %K[%W$[-3]2%K]", "%s %s %s", on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:779:206: note: in expansion of macro ‘on_off’
- %K[%W$[-3]2%K]", "%s %s %s", on_off(get_int_var(DCC_AUTOGET_VAR)), on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:779:243: note: in expansion of macro ‘on_off’
- get_int_var(DCC_AUTOGET_VAR)), on_off(get_int_var(FLOOD_KICK_VAR)), on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:780:168: note: in expansion of macro ‘on_off’
- %K[%W$[-3]1%K] %Cjoin%cflood %K[%W$[-3]2%K]", "%s %s %s", on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:780:200: note: in expansion of macro ‘on_off’
- lood %K[%W$[-3]2%K]", "%s %s %s", on_off(get_int_var(LLOOK_VAR)), on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:780:236: note: in expansion of macro ‘on_off’
- on_off(get_int_var(LLOOK_VAR)), on_off(get_int_var(DEOPFLOOD_VAR)), on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:781:168: note: in expansion of macro ‘on_off’
- %K[%W$[-3]1%K] %Cnickfl%cood %K[%W$[-3]2%K]", "%s %s %s", on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:781:206: note: in expansion of macro ‘on_off’
- %K[%W$[-3]2%K]", "%s %s %s", on_off(get_int_var(AUTO_WHOWAS_VAR)), on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:781:245: note: in expansion of macro ‘on_off’
- t_int_var(AUTO_WHOWAS_VAR)), on_off(get_int_var(CTCP_VERBOSE_VAR)), on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:782:168: note: in expansion of macro ‘on_off’
- %K[%W$[-3]1%K] %Cshit%clist %K[%W$[-3]2%K]", "%s %s %s", on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:782:200: note: in expansion of macro ‘on_off’
- ist %K[%W$[-3]2%K]", "%s %s %s", on_off(get_int_var(CLOAK_VAR)), on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:782:229: note: in expansion of macro ‘on_off’
- s %s", on_off(get_int_var(CLOAK_VAR)), on_off(get_int_var(OV_VAR)), on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:783:168: note: in expansion of macro ‘on_off’
- %K[%W$[-3]1%K] %Cuser%clist %K[%W$[-3]2%K]", "%s %s %s", on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:783:203: note: in expansion of macro ‘on_off’
- %K[%W$[-3]2%K]", "%s %s %s", on_off(get_int_var(KICK_OPS_VAR)), on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:783:240: note: in expansion of macro ‘on_off’
- ff(get_int_var(KICK_OPS_VAR)), on_off(get_int_var(ANNOY_KICK_VAR)), on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:784:168: note: in expansion of macro ‘on_off’
- %K[%W$[-3]1%K] %Cauto_rej%coin %K[%W$[-3]2%K]", "%s %s %s", on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:784:201: note: in expansion of macro ‘on_off’
- %coin %K[%W$[-3]2%K]", "%s %s %s", on_off(get_int_var(HACKING_VAR)),on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:784:243: note: in expansion of macro ‘on_off’
- get_int_var(HACKING_VAR)),on_off(get_int_var(NICK_COMPLETION_VAR)), on_off((get
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:785:166: note: in expansion of macro ‘on_off’
- %K[%W$[-3]1%K] %Cauto_rec%conn %K[%W$[-3]2%K]", "%s %s %s", on_off((get
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:785:201: note: in expansion of macro ‘on_off’
- onn %K[%W$[-3]2%K]", "%s %s %s", on_off((get_int_var(AOP_VAR)?1:0)),on_off((get
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:785:239: note: in expansion of macro ‘on_off’
- f((get_int_var(AOP_VAR)?1:0)),on_off((get_int_var(AUTO_AWAY_VAR))), on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:786:164: note: in expansion of macro ‘on_off’
- %K[%W$[-3]1%K] %Ckick_if_ban %K[%W$[-3]2%K]", "%s %s %s", on_off((get
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:786:197: note: in expansion of macro ‘on_off’
- f_ban %K[%W$[-3]2%K]", "%s %s %s", on_off((get_int_var(BITCH_VAR))),on_off((get
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:786:234: note: in expansion of macro ‘on_off’
- _off((get_int_var(BITCH_VAR))),on_off((get_int_var(DCC_FAST_VAR))), on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:787:166: note: in expansion of macro ‘on_off’
- %K[%W$[-3]1%K] %Chttp%c_grab %K[%W$[-3]2%K]", "%s %s %s", on_off((get
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:787:202: note: in expansion of macro ‘on_off’
- %K[%W$[-3]2%K]", "%s %s %s", on_off((get_int_var(FTP_GRAB_VAR))),on_off((get
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:787:235: note: in expansion of macro ‘on_off’
- n_off((get_int_var(FTP_GRAB_VAR))),on_off((get_int_var(MIRCS_VAR))),on_off((get
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:788:164: note: in expansion of macro ‘on_off’
- %K[%W$[-3]1%K] %Clog %K[%W$[-3]2%K]", "%s %s %s", on_off((get
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:788:204: note: in expansion of macro ‘on_off’
- K[%W$[-3]2%K]", "%s %s %s", on_off((get_int_var(DISPLAY_ANSI_VAR))),on_off((get
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:788:242: note: in expansion of macro ‘on_off’
- t_int_var(DISPLAY_ANSI_VAR))),on_off((get_int_var(TIMESTAMP_VAR))), on_off((get
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:796:16: note: in expansion of macro ‘next_arg’
- while ((arg = next_arg(args, &args)))
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:138:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define upper(x) ((char *) (global[UPPER]((char *)x)))
- ^
- commands2.c:800:3: note: in expansion of macro ‘upper’
- upper(arg);
- ^
- /home/tabl/BitchX/include/modval.h:138:19: warning: value computed is not used [-Wunused-value]
- #define upper(x) ((char *) (global[UPPER]((char *)x)))
- ^
- commands2.c:800:3: note: in expansion of macro ‘upper’
- upper(arg);
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:945:40: note: in expansion of macro ‘on_off’
- if (do_hook(SET_LIST, "%s %s", arg, on_off(get_int_var(DISPLAY_ANSI_VAR))))
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:946:92: note: in expansion of macro ‘on_off’
- t_output_format("$G %cToggled %GAnsi Display %K[%W$[-3]0%K]", "%s", on_off(get_
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:471:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_string_var(x) ((char *) (global[GET_STRING_VAR]((int)x)))
- ^
- /home/tabl/BitchX/include/modval.h:401:90: note: in definition of macro ‘set_input_prompt’
- mpt(x, y, z) ((void) (global[SET_INPUT_PROMPT]((Window *)x, (char *)y, (int)z))
- ^
- commands2.c:948:37: note: in expansion of macro ‘get_string_var’
- set_input_prompt(current_window, get_string_var(INPUT_PROMPT_VAR), 0);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:964:40: note: in expansion of macro ‘on_off’
- if (do_hook(SET_LIST, "%s %s", arg, on_off(get_int_var(var))))
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:965:51: note: in expansion of macro ‘on_off’
- put_it("%s", convert_output_format(str, "%s", on_off(get_int_var(var)) ));
- ^
- commands2.c: In function ‘show_version’:
- /home/tabl/BitchX/include/modval.h:455:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define fget_string_var(x) ((char *)(global[FGET_STRING_VAR]((int)x)))
- ^
- /home/tabl/BitchX/include/modval.h:114:81: note: in definition of macro ‘malloc_strcpy’
- oc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *)y, MODULENA
- ^
- commands2.c:985:67: note: in expansion of macro ‘fget_string_var’
- malloc_strcpy(&version_buf, stripansicodes(convert_output_format(fget_string_v
- ^
- /home/tabl/BitchX/include/modval.h:259:31: warning: pointer targets in passing argument 1 of ‘stripansicodes’ differ in signedness [-Wpointer-sign]
- #define convert_output_format ((char * (*)())global[CONVERT_OUTPUT_FORMAT])
- ^
- /home/tabl/BitchX/include/modval.h:114:81: note: in definition of macro ‘malloc_strcpy’
- oc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *)y, MODULENA
- ^
- commands2.c:985:45: note: in expansion of macro ‘convert_output_format’
- malloc_strcpy(&version_buf, stripansicodes(convert_output_format(fget_string_v
- ^
- In file included from commands2.c:73:0:
- /home/tabl/BitchX/include/misc.h:74:8: note: expected ‘const unsigned char *’ but argument is of type ‘char *’
- char *stripansicodes (const unsigned char *);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:985:2: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&version_buf, stripansicodes(convert_output_format(fget_string_v
- ^
- /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:985:2: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&version_buf, stripansicodes(convert_output_format(fget_string_v
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:990:10: note: in expansion of macro ‘next_arg’
- nick = next_arg(args, &args);
- ^
- /home/tabl/BitchX/include/modval.h:341:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_current_channel_by_refnum(x) ((char *) (global[GET_CURRENT_CHANNEL_
- ^
- commands2.c:992:10: note: in expansion of macro ‘get_current_channel_by_refnum’
- nick = get_current_channel_by_refnum(0);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:994:2: note: in expansion of macro ‘new_free’
- new_free(&version_buf);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:994:2: note: in expansion of macro ‘new_free’
- new_free(&version_buf);
- ^
- In file included from commands2.c:83:0:
- commands2.c: In function ‘who_user_kill’:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1016:16: note: in expansion of macro ‘next_arg’
- server = atol(next_arg(arg, &arg));
- ^
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1017:13: note: in expansion of macro ‘next_arg’
- nick_arg = next_arg(arg, &arg);
- ^
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1026:12: note: in expansion of macro ‘next_arg’
- t_nick = next_arg(arg, &arg);
- ^
- commands2.c: In function ‘who_user_killend’:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1045:17: note: in expansion of macro ‘next_arg’
- server = atol(next_arg(who_buff, &who_buff));
- ^
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1046:13: note: in expansion of macro ‘next_arg’
- pattern = next_arg(who_buff, &who_buff);
- ^
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1047:11: note: in expansion of macro ‘next_arg’
- match = next_arg(who_buff, &who_buff);
- ^
- /home/tabl/BitchX/include/modval.h:200:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_in_comma_list(x, y) ((char *)(global[NEXT_IN_COMMA_LIST]((char *)x
- ^
- commands2.c:1057:19: note: in expansion of macro ‘next_in_comma_list’
- while ((nick = next_in_comma_list(m_buff, &m_buff)))
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:119:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define m_s3cat(x, y, z) ((char *)(global[M_S3CAT]((char **)x, (char *)y, (char
- ^
- commands2.c:1061:5: note: in expansion of macro ‘m_s3cat’
- m_s3cat(&save_buffer, space, nick);
- ^
- /home/tabl/BitchX/include/modval.h:119:27: warning: value computed is not used [-Wunused-value]
- #define m_s3cat(x, y, z) ((char *)(global[M_S3CAT]((char **)x, (char *)y, (char
- ^
- commands2.c:1061:5: note: in expansion of macro ‘m_s3cat’
- m_s3cat(&save_buffer, space, nick);
- ^
- /home/tabl/BitchX/include/modval.h:119:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define m_s3cat(x, y, z) ((char *)(global[M_S3CAT]((char **)x, (char *)y, (char
- ^
- commands2.c:1066:5: note: in expansion of macro ‘m_s3cat’
- m_s3cat(&buffer, ",", nick);
- ^
- /home/tabl/BitchX/include/modval.h:119:27: warning: value computed is not used [-Wunused-value]
- #define m_s3cat(x, y, z) ((char *)(global[M_S3CAT]((char **)x, (char *)y, (char
- ^
- commands2.c:1066:5: note: in expansion of macro ‘m_s3cat’
- m_s3cat(&buffer, ",", nick);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1071:6: note: in expansion of macro ‘new_free’
- new_free(&buffer);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1071:6: note: in expansion of macro ‘new_free’
- new_free(&buffer);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1080:4: note: in expansion of macro ‘new_free’
- new_free(&save_buffer);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1080:4: note: in expansion of macro ‘new_free’
- new_free(&save_buffer);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1081:4: note: in expansion of macro ‘new_free’
- new_free(&buffer);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1081:4: note: in expansion of macro ‘new_free’
- new_free(&buffer);
- ^
- In file included from commands2.c:83:0:
- commands2.c: In function ‘whokill’:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1102:20: note: in expansion of macro ‘next_arg’
- while ((pattern = next_arg(args, &args)))
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1108:3: note: in expansion of macro ‘new_free’
- new_free(&nick_arg);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1108:3: note: in expansion of macro ‘new_free’
- new_free(&nick_arg);
- ^
- commands2.c: In function ‘trace_handlekill’:
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1129:3: note: in expansion of macro ‘new_free’
- new_free(&treason);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1129:3: note: in expansion of macro ‘new_free’
- new_free(&treason);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1130:3: note: in expansion of macro ‘new_free’
- new_free(&tnick_arg);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1130:3: note: in expansion of macro ‘new_free’
- new_free(&tnick_arg);
- ^
- /home/tabl/BitchX/include/modval.h:531:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_server_nickname(x) ((char *) (global[GET_SERVER_NICKNAME]((int)x)))
- ^
- /home/tabl/BitchX/include/modval.h:125:101: note: in definition of macro ‘my_stricmp’
- ((int)(global[MY_STRICMP]((const unsigned char *)x, (const unsigned char *)y)))
- ^
- commands2.c:1134:24: note: in expansion of macro ‘get_server_nickname’
- if (!my_stricmp(nick, get_server_nickname(from_server)))
- ^
- /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:1138:3: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&treason, get_reason(nick, NULL));
- ^
- /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:1138:3: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&treason, get_reason(nick, NULL));
- ^
- commands2.c: In function ‘handle_tracekill’:
- /home/tabl/BitchX/include/modval.h:129:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define chop(x, n) ((char *) (global[CHOP]((char *)x, (int)n)))
- ^
- commands2.c:1155:2: note: in expansion of macro ‘chop’
- chop(q, 1);
- ^
- /home/tabl/BitchX/include/modval.h:129:21: warning: value computed is not used [-Wunused-value]
- #define chop(x, n) ((char *) (global[CHOP]((char *)x, (int)n)))
- ^
- commands2.c:1155:2: note: in expansion of macro ‘chop’
- chop(q, 1);
- ^
- /home/tabl/BitchX/include/modval.h:531:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_server_nickname(x) ((char *) (global[GET_SERVER_NICKNAME]((int)x)))
- ^
- /home/tabl/BitchX/include/modval.h:125:101: note: in definition of macro ‘my_stricmp’
- ((int)(global[MY_STRICMP]((const unsigned char *)x, (const unsigned char *)y)))
- ^
- commands2.c:1162:23: note: in expansion of macro ‘get_server_nickname’
- if (!my_stricmp(n, get_server_nickname(from_server)))
- ^
- In file included from commands2.c:83:0:
- commands2.c: In function ‘tracekill’:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1179:18: note: in expansion of macro ‘next_arg’
- if (!(pattern = next_arg(args, &args)))
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:1182:3: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&treason, args);
- ^
- /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:1182:3: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&treason, args);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1184:3: note: in expansion of macro ‘new_free’
- new_free(&treason);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1184:3: note: in expansion of macro ‘new_free’
- new_free(&treason);
- ^
- In file included from commands2.c:83:0:
- commands2.c: In function ‘traceserv’:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1206:17: note: in expansion of macro ‘next_arg’
- if (!(server = next_arg(args, &args)) ||
- ^
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1207:15: note: in expansion of macro ‘next_arg’
- !(pattern = next_arg(args, &args)))
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:1210:10: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&treason, args);
- ^
- /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:1210:10: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&treason, args);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1212:3: note: in expansion of macro ‘new_free’
- new_free(&treason);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1212:3: note: in expansion of macro ‘new_free’
- new_free(&treason);
- ^
- In file included from commands2.c:83:0:
- commands2.c: In function ‘jnw’:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1303:17: note: in expansion of macro ‘next_arg’
- if ((channel = next_arg(args, &args)))
- ^
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1308:20: note: in expansion of macro ‘next_arg’
- if (!(channel = next_arg(args, &args)))
- ^
- /home/tabl/BitchX/include/modval.h:299:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_window(x) ((Window *) (global[NEW_WINDOW]((Screen *)x)))
- ^
- commands2.c:1312:14: note: in expansion of macro ‘new_window’
- if ((tmp = new_window(current_window->screen)))
- ^
- /home/tabl/BitchX/include/modval.h:411:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define make_channel(x) ((char *) (global[MAKE_CHANNEL]((char *)x)))
- ^
- commands2.c:1317:30: note: in expansion of macro ‘make_channel’
- if (channel && (channel = make_channel(channel)))
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:1320:5: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&tmp->waiting_channel, channel);
- ^
- /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:1320:5: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&tmp->waiting_channel, channel);
- ^
- In file included from commands2.c:83:0:
- commands2.c: In function ‘change_orig_nick’:
- /home/tabl/BitchX/include/modval.h:531:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_server_nickname(x) ((char *) (global[GET_SERVER_NICKNAME]((int)x)))
- ^
- commands2.c:1334:17: note: in expansion of macro ‘get_server_nickname’
- char *curnick = get_server_nickname(server);
- ^
- commands2.c: In function ‘gain_nick’:
- /home/tabl/BitchX/include/modval.h:481:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define add_timer(x, y, z, n, f, a, b, w, c) ((char *) (global[ADD_TIMER]((int)
- ^
- commands2.c:1359:3: note: in expansion of macro ‘add_timer’
- add_timer(0, empty_string, get_int_var(ORIGNICK_TIME_VAR) * 1000, 1, delay_ga
- ^
- /home/tabl/BitchX/include/modval.h:481:47: warning: value computed is not used [-Wunused-value]
- #define add_timer(x, y, z, n, f, a, b, w, c) ((char *) (global[ADD_TIMER]((int)
- ^
- commands2.c:1359:3: note: in expansion of macro ‘add_timer’
- add_timer(0, empty_string, get_int_var(ORIGNICK_TIME_VAR) * 1000, 1, delay_ga
- ^
- commands2.c: In function ‘orig_nick’:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1391:34: note: in expansion of macro ‘next_arg’
- if (!args || !*args || !(nick = next_arg(args, &args)))
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:145:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define check_nickname(x) ((char *) (global[CHECK_NICKNAME]((char *)x)))
- ^
- commands2.c:1411:20: note: in expansion of macro ‘check_nickname’
- else if ((nick = check_nickname(nick)))
- ^
- commands2.c: In function ‘add_bad_nick’:
- /home/tabl/BitchX/include/modval.h:119:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define m_s3cat(x, y, z) ((char *)(global[M_S3CAT]((char **)x, (char *)y, (char
- ^
- commands2.c:1443:6: note: in expansion of macro ‘m_s3cat’
- m_s3cat(&buffer, lame_nick->nick, "\t");
- ^
- /home/tabl/BitchX/include/modval.h:119:27: warning: value computed is not used [-Wunused-value]
- #define m_s3cat(x, y, z) ((char *)(global[M_S3CAT]((char **)x, (char *)y, (char
- ^
- commands2.c:1443:6: note: in expansion of macro ‘m_s3cat’
- m_s3cat(&buffer, lame_nick->nick, "\t");
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1451:6: note: in expansion of macro ‘new_free’
- new_free(&buffer);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1451:6: note: in expansion of macro ‘new_free’
- new_free(&buffer);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1456:4: note: in expansion of macro ‘new_free’
- new_free(&buffer);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1456:4: note: in expansion of macro ‘new_free’
- new_free(&buffer);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1464:10: note: in expansion of macro ‘next_arg’
- nick = next_arg(args, &args);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:111:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_malloc(x) ((void *)(global[NEW_MALLOC]((x),MODULENAME, __FILE__,__L
- ^
- commands2.c:1468:28: note: in expansion of macro ‘new_malloc’
- lame_nick = (LameList *)new_malloc(sizeof(LameList));
- ^
- /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:1469:4: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&lame_nick->nick, nick);
- ^
- /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:1469:4: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&lame_nick->nick, nick);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:228:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define remove_from_list(x, y) ((List *) (global[REMOVE_FROM_LIST_]((List **)x,
- ^
- commands2.c:1474:28: note: in expansion of macro ‘remove_from_list’
- lame_nick = (LameList *)remove_from_list((List **)&lame_list, nick);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1477:5: note: in expansion of macro ‘new_free’
- new_free(&lame_nick->nick);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1477:5: note: in expansion of macro ‘new_free’
- new_free(&lame_nick->nick);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1478:5: note: in expansion of macro ‘new_free’
- new_free((char **)&lame_nick);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1478:5: note: in expansion of macro ‘new_free’
- new_free((char **)&lame_nick);
- ^
- /home/tabl/BitchX/include/modval.h:119:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define m_s3cat(x, y, z) ((char *)(global[M_S3CAT]((char **)x, (char *)y, (char
- ^
- commands2.c:1486:5: note: in expansion of macro ‘m_s3cat’
- m_s3cat(&buffer, nick, "\t");
- ^
- /home/tabl/BitchX/include/modval.h:119:27: warning: value computed is not used [-Wunused-value]
- #define m_s3cat(x, y, z) ((char *)(global[M_S3CAT]((char **)x, (char *)y, (char
- ^
- commands2.c:1486:5: note: in expansion of macro ‘m_s3cat’
- m_s3cat(&buffer, nick, "\t");
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1493:2: note: in expansion of macro ‘new_free’
- new_free(&buffer);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1493:2: note: in expansion of macro ‘new_free’
- new_free(&buffer);
- ^
- commands2.c: In function ‘grab_http’:
- /home/tabl/BitchX/include/modval.h:140:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define stristr(x, y) ((char *) (global[STRISTR]((const char *)x, (char *)y)))
- ^
- commands2.c:1515:37: note: in expansion of macro ‘stristr’
- if ((get_int_var(HTTP_GRAB_VAR) && stristr(text, "HTTP:")) || (get_int_var(FTP
- ^
- /home/tabl/BitchX/include/modval.h:140:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define stristr(x, y) ((char *) (global[STRISTR]((const char *)x, (char *)y)))
- ^
- commands2.c:1515:95: note: in expansion of macro ‘stristr’
- B_VAR) && stristr(text, "HTTP:")) || (get_int_var(FTP_GRAB_VAR) && (stristr(tex
- ^
- /home/tabl/BitchX/include/modval.h:140:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define stristr(x, y) ((char *) (global[STRISTR]((const char *)x, (char *)y)))
- ^
- commands2.c:1515:120: note: in expansion of macro ‘stristr’
- HTTP:")) || (get_int_var(FTP_GRAB_VAR) && (stristr(text, "FTP:") || stristr(tex
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1522:5: note: in expansion of macro ‘new_free’
- new_free(&q);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1522:5: note: in expansion of macro ‘new_free’
- new_free(&q);
- ^
- /home/tabl/BitchX/include/modval.h:111:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_malloc(x) ((void *)(global[NEW_MALLOC]((x),MODULENAME, __FILE__,__L
- ^
- commands2.c:1537:25: note: in expansion of macro ‘new_malloc’
- new_url = (UrlList *) new_malloc(sizeof(UrlList));
- ^
- In file included from commands2.c:83:0:
- commands2.c: In function ‘url_grabber’:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1564:15: note: in expansion of macro ‘next_arg’
- while ((p = next_arg(args, &args)))
- ^
- /home/tabl/BitchX/include/modval.h:471:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_string_var(x) ((char *) (global[GET_STRING_VAR]((int)x)))
- ^
- commands2.c:1573:56: note: in expansion of macro ‘get_string_var’
- snprintf(buffer, BIG_BUFFER_SIZE, "%s/BitchX.url", get_string_var(CTOOLZ_DI
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:144:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define expand_twiddle(x) ((char *) (global[EXPAND_TWIDDLE]((char *)x)))
- ^
- commands2.c:1574:16: note: in expansion of macro ‘expand_twiddle’
- filename = expand_twiddle(buffer);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1578:15: note: in expansion of macro ‘next_arg’
- number = next_arg(args, &args);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1584:5: note: in expansion of macro ‘new_free’
- new_free(&filename);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1584:5: note: in expansion of macro ‘new_free’
- new_free(&filename);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1592:6: note: in expansion of macro ‘new_free’
- new_free(&cur_url);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1592:6: note: in expansion of macro ‘new_free’
- new_free(&cur_url);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1601:17: note: in expansion of macro ‘next_arg’
- char *ans = next_arg(args, &args);
- ^
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1611:17: note: in expansion of macro ‘next_arg’
- char *ans = next_arg(args, &args);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1628:7: note: in expansion of macro ‘new_free’
- new_free(&cur_url);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1628:7: note: in expansion of macro ‘new_free’
- new_free(&cur_url);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1643:14: note: in expansion of macro ‘new_free’
- new_free(&cur_url);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1643:14: note: in expansion of macro ‘new_free’
- new_free(&cur_url);
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:1671:96: note: in expansion of macro ‘on_off’
- ut_format("$G HTTP grab %K[%W$0%K]%n FTP grab %K[%W$1%K]", "%s %s", on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:1671:132: note: in expansion of macro ‘on_off’
- FTP grab %K[%W$1%K]", "%s %s", on_off(get_int_var(HTTP_GRAB_VAR)), on_off(get_
- ^
- commands2.c: In function ‘set_autoreply’:
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1739:3: note: in expansion of macro ‘new_free’
- new_free(&auto_str);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1739:3: note: in expansion of macro ‘new_free’
- new_free(&auto_str);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1744:7: note: in expansion of macro ‘next_arg’
- p = next_arg(args, &args);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:123:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define m_e3cat(x, y, z) ((char *)(global[M_E3CAT]((char **)x, (char *)y, (char
- ^
- commands2.c:1748:4: note: in expansion of macro ‘m_e3cat’
- m_e3cat(&new_args, nickname, space);
- ^
- /home/tabl/BitchX/include/modval.h:123:27: warning: value computed is not used [-Wunused-value]
- #define m_e3cat(x, y, z) ((char *)(global[M_E3CAT]((char **)x, (char *)y, (char
- ^
- commands2.c:1748:4: note: in expansion of macro ‘m_e3cat’
- m_e3cat(&new_args, nickname, space);
- ^
- /home/tabl/BitchX/include/modval.h:123:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define m_e3cat(x, y, z) ((char *)(global[M_E3CAT]((char **)x, (char *)y, (char
- ^
- commands2.c:1749:4: note: in expansion of macro ‘m_e3cat’
- m_e3cat(&new_args, strip(nickname, not_wanted1), (len > 4 ? space: empty_str
- ^
- /home/tabl/BitchX/include/modval.h:123:27: warning: value computed is not used [-Wunused-value]
- #define m_e3cat(x, y, z) ((char *)(global[M_E3CAT]((char **)x, (char *)y, (char
- ^
- commands2.c:1749:4: note: in expansion of macro ‘m_e3cat’
- m_e3cat(&new_args, strip(nickname, not_wanted1), (len > 4 ? space: empty_str
- ^
- /home/tabl/BitchX/include/modval.h:123:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define m_e3cat(x, y, z) ((char *)(global[M_E3CAT]((char **)x, (char *)y, (char
- ^
- commands2.c:1757:6: note: in expansion of macro ‘m_e3cat’
- m_e3cat(&new_args, new_nick, space);
- ^
- /home/tabl/BitchX/include/modval.h:123:27: warning: value computed is not used [-Wunused-value]
- #define m_e3cat(x, y, z) ((char *)(global[M_E3CAT]((char **)x, (char *)y, (char
- ^
- commands2.c:1757:6: note: in expansion of macro ‘m_e3cat’
- m_e3cat(&new_args, new_nick, space);
- ^
- /home/tabl/BitchX/include/modval.h:123:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define m_e3cat(x, y, z) ((char *)(global[M_E3CAT]((char **)x, (char *)y, (char
- ^
- commands2.c:1760:5: note: in expansion of macro ‘m_e3cat’
- m_e3cat(&new_args, strip(nickname, not_wanted2), (len > 4 ? space:empty_str
- ^
- /home/tabl/BitchX/include/modval.h:123:27: warning: value computed is not used [-Wunused-value]
- #define m_e3cat(x, y, z) ((char *)(global[M_E3CAT]((char **)x, (char *)y, (char
- ^
- commands2.c:1760:5: note: in expansion of macro ‘m_e3cat’
- m_e3cat(&new_args, strip(nickname, not_wanted2), (len > 4 ? space:empty_str
- ^
- /home/tabl/BitchX/include/modval.h:115:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define malloc_strcat(x, y) ((char *)(global[MALLOC_STRCAT]((char **)x, (char *
- ^
- commands2.c:1768:6: note: in expansion of macro ‘malloc_strcat’
- malloc_strcat(&new_args, new_nick);
- ^
- /home/tabl/BitchX/include/modval.h:115:30: warning: value computed is not used [-Wunused-value]
- #define malloc_strcat(x, y) ((char *)(global[MALLOC_STRCAT]((char **)x, (char *
- ^
- commands2.c:1768:6: note: in expansion of macro ‘malloc_strcat’
- malloc_strcat(&new_args, new_nick);
- ^
- /home/tabl/BitchX/include/modval.h:121:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define m_3cat(x, y, z) ((char *) (global[M_3CAT]((char **)x, (char *)y, (char
- ^
- commands2.c:1776:5: note: in expansion of macro ‘m_3cat’
- m_3cat(&new_args, p, args?space:empty_string);
- ^
- /home/tabl/BitchX/include/modval.h:121:26: warning: value computed is not used [-Wunused-value]
- #define m_3cat(x, y, z) ((char *) (global[M_3CAT]((char **)x, (char *)y, (char
- ^
- commands2.c:1776:5: note: in expansion of macro ‘m_3cat’
- m_3cat(&new_args, p, args?space:empty_string);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1777:18: note: in expansion of macro ‘next_arg’
- } while ((p = next_arg(args, &args)));
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1781:3: note: in expansion of macro ‘new_free’
- new_free(&new_args);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1781:3: note: in expansion of macro ‘new_free’
- new_free(&new_args);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:471:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_string_var(x) ((char *) (global[GET_STRING_VAR]((int)x)))
- ^
- commands2.c:1782:45: note: in expansion of macro ‘get_string_var’
- bitchsay("Auto-Response now set to [%s]", get_string_var(AUTO_RESPONSE_STR_VA
- ^
- commands2.c: In function ‘add_no_flood’:
- /home/tabl/BitchX/include/modval.h:439:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_namelist(x, y, z) ((List *) (global[NEXT_NAMELIST]((HashEntry *)x,
- ^
- commands2.c:1812:15: note: in expansion of macro ‘next_namelist’
- for (nptr = next_namelist(no_flood_list, NULL, FLOOD_HASHSIZE); nptr; nptr =
- ^
- /home/tabl/BitchX/include/modval.h:439:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_namelist(x, y, z) ((List *) (global[NEXT_NAMELIST]((HashEntry *)x,
- ^
- commands2.c:1812:80: note: in expansion of macro ‘next_namelist’
- = next_namelist(no_flood_list, NULL, FLOOD_HASHSIZE); nptr; nptr = next_nameli
- ^
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1822:9: note: in expansion of macro ‘next_arg’
- nick = next_arg(args, &args);
- ^
- /home/tabl/BitchX/include/modval.h:441:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define find_name_in_genericlist(x, y, z, a) ((List *) (global[FIND_NAME_IN_GEN
- ^
- commands2.c:1825:16: note: in expansion of macro ‘find_name_in_genericlist’
- if (!(nptr = find_name_in_genericlist(nick, no_flood_list, FLOOD_HASHSIZE, 0)
- ^
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1827:10: note: in expansion of macro ‘next_arg’
- nick = next_arg(args, &args);
- ^
- commands2.c: In function ‘check_clones’:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1840:13: note: in expansion of macro ‘next_arg’
- channel = next_arg(args, &args);
- ^
- /home/tabl/BitchX/include/modval.h:411:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define make_channel(x) ((char *) (global[MAKE_CHANNEL]((char *)x)))
- ^
- commands2.c:1841:13: note: in expansion of macro ‘make_channel’
- channel = make_channel(channel);
- ^
- /home/tabl/BitchX/include/modval.h:258:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define prepare_command(x, y, z) ((ChannelList *)(global[PREPARE_COMMAND](x, y,
- ^
- commands2.c:1842:10: note: in expansion of macro ‘prepare_command’
- chan = prepare_command(&server, channel, NO_OP);
- ^
- /home/tabl/BitchX/include/modval.h:341:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_current_channel_by_refnum(x) ((char *) (global[GET_CURRENT_CHANNEL_
- ^
- commands2.c:1846:13: note: in expansion of macro ‘get_current_channel_by_refnum’
- channel = get_current_channel_by_refnum(0);
- ^
- /home/tabl/BitchX/include/modval.h:258:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define prepare_command(x, y, z) ((ChannelList *)(global[PREPARE_COMMAND](x, y,
- ^
- commands2.c:1847:10: note: in expansion of macro ‘prepare_command’
- chan = prepare_command(&server, channel, NO_OP);
- ^
- /home/tabl/BitchX/include/modval.h:438:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_nicklist(x, y) ((NickList *) (global[NEXT_NICKLIST] ((ChannelList
- ^
- commands2.c:1851:14: note: in expansion of macro ‘next_nicklist’
- for (nptr = next_nicklist(chan, NULL); nptr; nptr = next_nicklist(chan, nptr))
- ^
- /home/tabl/BitchX/include/modval.h:438:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_nicklist(x, y) ((NickList *) (global[NEXT_NICKLIST] ((ChannelList
- ^
- commands2.c:1851:54: note: in expansion of macro ‘next_nicklist’
- for (nptr = next_nicklist(chan, NULL); nptr; nptr = next_nicklist(chan, nptr))
- ^
- /home/tabl/BitchX/include/modval.h:438:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_nicklist(x, y) ((NickList *) (global[NEXT_NICKLIST] ((ChannelList
- ^
- commands2.c:1853:14: note: in expansion of macro ‘next_nicklist’
- for (nptr = next_nicklist(chan, NULL); nptr; nptr = next_nicklist(chan, nptr))
- ^
- /home/tabl/BitchX/include/modval.h:438:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_nicklist(x, y) ((NickList *) (global[NEXT_NICKLIST] ((ChannelList
- ^
- commands2.c:1853:54: note: in expansion of macro ‘next_nicklist’
- for (nptr = next_nicklist(chan, NULL); nptr; nptr = next_nicklist(chan, nptr))
- ^
- /home/tabl/BitchX/include/modval.h:438:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_nicklist(x, y) ((NickList *) (global[NEXT_NICKLIST] ((ChannelList
- ^
- commands2.c:1858:16: note: in expansion of macro ‘next_nicklist’
- for (nptr1 = next_nicklist(chan, NULL); nptr1; nptr1 = next_nicklist(chan, np
- ^
- /home/tabl/BitchX/include/modval.h:438:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_nicklist(x, y) ((NickList *) (global[NEXT_NICKLIST] ((ChannelList
- ^
- commands2.c:1858:58: note: in expansion of macro ‘next_nicklist’
- for (nptr1 = next_nicklist(chan, NULL); nptr1; nptr1 = next_nicklist(chan, np
- ^
- commands2.c: In function ‘pastecmd’:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1918:15: note: in expansion of macro ‘next_arg’
- if ((lines = next_arg(args, &args)))
- ^
- /home/tabl/BitchX/include/modval.h:341:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_current_channel_by_refnum(x) ((char *) (global[GET_CURRENT_CHANNEL_
- ^
- commands2.c:1921:13: note: in expansion of macro ‘get_current_channel_by_refnum’
- channel = get_current_channel_by_refnum(0);
- ^
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1927:8: note: in expansion of macro ‘next_arg’
- t = next_arg(args, &args);
- ^
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1934:11: note: in expansion of macro ‘next_arg’
- t = next_arg(args, &args);
- ^
- /home/tabl/BitchX/include/modval.h:341:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_current_channel_by_refnum(x) ((char *) (global[GET_CURRENT_CHANNEL_
- ^
- commands2.c:1947:30: note: in expansion of macro ‘get_current_channel_by_refnum’
- if (!channel && !(channel = get_current_channel_by_refnum(0)))
- ^
- /home/tabl/BitchX/include/modval.h:322:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_window_by_refnum(x) ((Window *) (global[GET_WINDOW_BY_REFNUM]((unsi
- ^
- commands2.c:1949:8: note: in expansion of macro ‘get_window_by_refnum’
- win = get_window_by_refnum(winref);
- ^
- /home/tabl/BitchX/include/modval.h:455:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define fget_string_var(x) ((char *)(global[FGET_STRING_VAR]((int)x)))
- ^
- /home/tabl/BitchX/include/modval.h:261:86: note: in definition of macro ‘send_text’
- (x, y, z, a, b) ((void) (global[SEND_TEXT]((char *)x, (const char *)y, (char *)
- ^
- commands2.c:2020:46: note: in expansion of macro ‘fget_string_var’
- send_text(channel, convert_output_format(fget_string_var(FORMAT_PASTE_FSET)
- ^
- commands2.c: In function ‘handle_reconnect’:
- commands2.c:2457:56: warning: pointer targets in passing argument 3 of ‘getpeername’ differ in signedness [-Wpointer-sign]
- if (n < 0 || getpeername(n, (struct sockaddr *)&addr, &len) < 0)
- ^
- In file included from /home/tabl/BitchX/include/irc.h:62:0,
- from commands2.c:8:
- /usr/include/x86_64-linux-gnu/sys/socket.h:141:12: note: expected ‘socklen_t * restrict {aka unsigned int * restrict}’ but argument is of type ‘int *’
- extern int getpeername (int __fd, __SOCKADDR_ARG __addr,
- ^
- In file included from commands2.c:83:0:
- commands2.c: In function ‘do_detach’:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- /home/tabl/BitchX/include/modval.h:191:56: note: in definition of macro ‘m_strdup’
- #define m_strdup(x) ((char *)(global[M_STRDUP]((char *)x, MODULENAME, __FILE__,
- ^
- commands2.c:2609:23: note: in expansion of macro ‘next_arg’
- old_pass = m_strdup(next_arg(args, &args));
- ^
- /home/tabl/BitchX/include/modval.h:191:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define m_strdup(x) ((char *)(global[M_STRDUP]((char *)x, MODULENAME, __FILE__,
- ^
- commands2.c:2609:14: note: in expansion of macro ‘m_strdup’
- old_pass = m_strdup(next_arg(args, &args));
- ^
- commands2.c: In function ‘detachcmd’:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:2665:12: note: in expansion of macro ‘next_arg’
- if ((p = next_arg(args, &args)))
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:188:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define cryptit(x) ((char *) (global[CRYPTIT]((const char *)x)))
- ^
- /home/tabl/BitchX/include/modval.h:114:81: note: in definition of macro ‘malloc_strcpy’
- oc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *)y, MODULENA
- ^
- commands2.c:2666:29: note: in expansion of macro ‘cryptit’
- malloc_strcpy(&old_pass, cryptit(p));
- ^
- /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:2666:4: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&old_pass, cryptit(p));
- ^
- /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:2666:4: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&old_pass, cryptit(p));
- ^
- In file included from commands2.c:83:0:
- commands2.c: In function ‘spam’:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:2710:6: note: in expansion of macro ‘next_arg’
- c = next_arg(args, &args);
- ^
- /home/tabl/BitchX/include/modval.h:411:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define make_channel(x) ((char *) (global[MAKE_CHANNEL]((char *)x)))
- ^
- commands2.c:2711:6: note: in expansion of macro ‘make_channel’
- c = make_channel(c);
- ^
- /home/tabl/BitchX/include/modval.h:433:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define lookup_channel(x, y, z) ((ChannelList *) (global[LOOKUP_CHANNEL]((char
- ^
- commands2.c:2717:14: note: in expansion of macro ‘lookup_channel’
- if ((chan = lookup_channel(c, from_server, 0)))
- ^
- /home/tabl/BitchX/include/modval.h:438:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_nicklist(x, y) ((NickList *) (global[NEXT_NICKLIST] ((ChannelList
- ^
- commands2.c:2720:12: note: in expansion of macro ‘next_nicklist’
- for (u = next_nicklist(chan, NULL); u; u = next_nicklist(chan, u))
- ^
- /home/tabl/BitchX/include/modval.h:438:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_nicklist(x, y) ((NickList *) (global[NEXT_NICKLIST] ((ChannelList
- ^
- commands2.c:2720:46: note: in expansion of macro ‘next_nicklist’
- for (u = next_nicklist(chan, NULL); u; u = next_nicklist(chan, u))
- ^
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:2726:16: note: in expansion of macro ‘next_arg’
- while ((t = next_arg(tmpc, &tmpc)))
- ^
- /home/tabl/BitchX/include/modval.h:411:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define make_channel(x) ((char *) (global[MAKE_CHANNEL]((char *)x)))
- ^
- commands2.c:2728:15: note: in expansion of macro ‘make_channel’
- if (!(t = make_channel(t)))
- ^
- /home/tabl/BitchX/include/modval.h:433:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define lookup_channel(x, y, z) ((ChannelList *) (global[LOOKUP_CHANNEL]((char
- ^
- commands2.c:2730:13: note: in expansion of macro ‘lookup_channel’
- chan1 = lookup_channel(t, from_server, 0);
- ^
- /home/tabl/BitchX/include/modval.h:436:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define find_nicklist_in_channellist(x, y, z) ((NickList *) (global[FIND_NICKLI
- ^
- commands2.c:2733:16: note: in expansion of macro ‘find_nicklist_in_channellist’
- if (!(u1 = find_nicklist_in_channellist(u->nick, chan1, 0)))
- ^
- commands2.c: In function ‘send_kline’:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:2751:20: note: in expansion of macro ‘next_arg’
- while ((target = next_arg(args, &args)))
- ^
- /home/tabl/BitchX/include/modval.h:200:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_in_comma_list(x, y) ((char *)(global[NEXT_IN_COMMA_LIST]((char *)x
- ^
- commands2.c:2753:16: note: in expansion of macro ‘next_in_comma_list’
- while ((t = next_in_comma_list(target, &target)))
- ^
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:2761:8: note: in expansion of macro ‘next_arg’
- dur = next_arg(args, &args);
- ^
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:2774:13: note: in expansion of macro ‘next_arg’
- target = next_arg(args, &args);
- ^
- /home/tabl/BitchX/include/modval.h:200:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_in_comma_list(x, y) ((char *)(global[NEXT_IN_COMMA_LIST]((char *)x
- ^
- commands2.c:2787:14: note: in expansion of macro ‘next_in_comma_list’
- while ((t = next_in_comma_list(target, &target)))
- ^
- commands2.c: In function ‘handle_reconnect’:
- commands2.c:2506:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
- write(n, &parm, sizeof(struct param));
- ^
- commands2.c: In function ‘create_ipc_socket’:
- commands2.c:2581:4: warning: ignoring return value of ‘chown’, declared with attribute warn_unused_result [-Wunused-result]
- chown(buf, getuid(), getgid());
- ^
- commands2.c:2583:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
- write(u, connect_cookie, strlen(connect_cookie));
- ^
- commands2.c:2584:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
- write(u, "\n", 1);
- ^
- commands2.c: In function ‘close_detach_fd’:
- commands2.c:2634:2: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
- freopen("/dev/null", "r", stdin);
- ^
- commands2.c:2635:2: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
- freopen("/dev/null", "w", stdout);
- ^
- commands2.c:2636:2: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
- freopen("/dev/null", "w", stderr);
- ^
- In file included from /usr/include/fcntl.h:289:0,
- from /usr/include/x86_64-linux-gnu/sys/fcntl.h:1,
- from /home/tabl/BitchX/include/irc.h:81,
- from commands2.c:8:
- In function ‘open’,
- inlined from ‘create_ipc_socket’ at commands2.c:2578:6:
- /usr/include/x86_64-linux-gnu/bits/fcntl2.h:50:4: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT or O_TMPFILE in second argument needs 3 arguments
- __open_missing_mode ();
- ^
- Makefile:185: recipe for target 'commands2.o' failed
- make[1]: *** [commands2.o] Error 1
- make[1]: Leaving directory '/home/tabl/BitchX/source'
- Makefile:201: recipe for target 'BitchX' failed
- make: *** [BitchX] Error 2
- tabl@tabl-15U340-L-BK35P1:~/BitchX$ make INSTALL
- make: Nothing to be done for 'INSTALL'.
- tabl@tabl-15U340-L-BK35P1:~/BitchX$ make install
- cd source \
- && make 'local_dir=/home/tabl' 'INSTALL_IRC=/usr/local/bin/BitchX' 'IRCLIB=/usr/local/lib/bx' 'CC=gcc' 'CFLAGS=-g -O2 -Wall' 'HELPDIR=/usr/local/lib/bx/help' 'INSTALL_WSERV=/usr/local/lib/bx/wserv' 'IRCPATH=~/.BitchX:~/.BitchX/plugins:.:/usr/local/lib/bx/plugins:/usr/local/lib/bx/script:/usr/local/lib/bx' 'TRANSLATION_PATH=/usr/local/lib/bx/translation' 'LDFLAGS=' 'LIBS=-lncurses -lm -lcrypt' 'LN=ln -s' 'RM=rm -f' 'TCL_SRCS=' 'TCL_OBJS=' 'CD_PLAY=' 'CD_SRCS=' 'CD_OBJS=' 'TCL_LIBS=' 'PLUGINDIR=/usr/local/lib/bx/plugins' '_VERSION_=BitchX' 'VERSION=BitchX-1.1-final' 'INSTALL_DATA=/usr/bin/install -c -m 644' 'INSTALL_SCRIPT=/usr/local/lib/bx/script' 'EXEEXT=' 'SHLIB_CFLAGS=' 'SHLIB_SUFFIX=.so' all
- make[1]: Entering directory '/home/tabl/BitchX/source'
- gcc -I. -I/home/tabl/BitchX/include -I../include -I. -I./include -g -O2 -Wall -c commands2.c
- In file included from commands2.c:83:0:
- commands2.c: In function ‘nwhois’:
- /home/tabl/BitchX/include/modval.h:549:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_server_channels(x) ((ChannelList *) (global[GET_SERVER_CHANNELS]((i
- ^
- commands2.c:118:14: note: in expansion of macro ‘get_server_channels’
- if (!(tmp = get_server_channels(server)))
- ^
- /home/tabl/BitchX/include/modval.h:191:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define m_strdup(x) ((char *)(global[M_STRDUP]((char *)x, MODULENAME, __FILE__,
- ^
- commands2.c:125:13: note: in expansion of macro ‘m_strdup’
- t = arg = m_strdup(args);
- ^
- /home/tabl/BitchX/include/modval.h:341:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_current_channel_by_refnum(x) ((char *) (global[GET_CURRENT_CHANNEL_
- ^
- commands2.c:129:10: note: in expansion of macro ‘get_current_channel_by_refnum’
- nick = get_current_channel_by_refnum(0);
- ^
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:132:24: note: in expansion of macro ‘next_arg’
- while (all || (nick = next_arg(arg, &arg)))
- ^
- /home/tabl/BitchX/include/modval.h:438:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_nicklist(x, y) ((NickList *) (global[NEXT_NICKLIST] ((ChannelList
- ^
- commands2.c:141:16: note: in expansion of macro ‘next_nicklist’
- for (user = next_nicklist(tmp, NULL); user; user = next_nicklist(tmp, user))
- ^
- /home/tabl/BitchX/include/modval.h:438:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_nicklist(x, y) ((NickList *) (global[NEXT_NICKLIST] ((ChannelList
- ^
- commands2.c:141:55: note: in expansion of macro ‘next_nicklist’
- for (user = next_nicklist(tmp, NULL); user; user = next_nicklist(tmp, user))
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:183:2: note: in expansion of macro ‘new_free’
- new_free(&t);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:183:2: note: in expansion of macro ‘new_free’
- new_free(&t);
- ^
- In file included from commands2.c:83:0:
- commands2.c: In function ‘add_ban_word’:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:204:10: note: in expansion of macro ‘next_arg’
- chan = next_arg(args, &args);
- ^
- /home/tabl/BitchX/include/modval.h:226:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define find_in_list(x, y, z) ((List *) (global[FIND_IN_LIST]((List **)x, (char
- ^
- commands2.c:209:26: note: in expansion of macro ‘find_in_list’
- new = (WordKickList *)find_in_list((List **)&ban_words, args, 0);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:111:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_malloc(x) ((void *)(global[NEW_MALLOC]((x),MODULENAME, __FILE__,__L
- ^
- commands2.c:212:28: note: in expansion of macro ‘new_malloc’
- new = (WordKickList *) new_malloc(sizeof(WordKickList));
- ^
- /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:213:5: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&new->channel, chan);
- ^
- /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:213:5: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&new->channel, chan);
- ^
- /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:214:5: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&new->string, args);
- ^
- /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:214:5: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&new->string, args);
- ^
- /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:222:4: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&word, args);
- ^
- /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:222:4: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&word, args);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:230:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define removewild_from_list(x, y) ((List *) (global[REMOVEWILD_FROM_LIST]((Lis
- ^
- commands2.c:223:35: note: in expansion of macro ‘removewild_from_list’
- while ((new = (WordKickList *) removewild_from_list((List **)&ban_words, wor
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:226:5: note: in expansion of macro ‘new_free’
- new_free(&new->channel);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:226:5: note: in expansion of macro ‘new_free’
- new_free(&new->channel);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:227:5: note: in expansion of macro ‘new_free’
- new_free(&new->string);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:227:5: note: in expansion of macro ‘new_free’
- new_free(&new->string);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:228:5: note: in expansion of macro ‘new_free’
- new_free((char **)&new);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:228:5: note: in expansion of macro ‘new_free’
- new_free((char **)&new);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:233:4: note: in expansion of macro ‘new_free’
- new_free(&word);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:233:4: note: in expansion of macro ‘new_free’
- new_free(&word);
- ^
- In file included from commands2.c:83:0:
- commands2.c: In function ‘check_mode_lock’:
- /home/tabl/BitchX/include/modval.h:433:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define lookup_channel(x, y, z) ((ChannelList *) (global[LOOKUP_CHANNEL]((char
- ^
- commands2.c:310:14: note: in expansion of macro ‘lookup_channel’
- if ((chan = lookup_channel(channel, server, 0)) && chan->modelock_key)
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:321:3: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&modelock, chan->modelock_key);
- ^
- /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:321:3: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&modelock, chan->modelock_key);
- ^
- /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:322:3: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&new_mode_list, mode_list);
- ^
- /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:322:3: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&new_mode_list, mode_list);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:325:19: note: in expansion of macro ‘next_arg’
- new_mode_list = next_arg(new_mode_list, &args1);
- ^
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:326:14: note: in expansion of macro ‘next_arg’
- modelock = next_arg(modelock, &args);
- ^
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:345:14: note: in expansion of macro ‘next_arg’
- key = next_arg(args1, &args1);
- ^
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:351:14: note: in expansion of macro ‘next_arg’
- key = next_arg(args, &args);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:167:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define ltoa(x) ((char *) (global[LTOA]((long)x)))
- ^
- commands2.c:380:24: note: in expansion of macro ‘ltoa’
- strcat(buffer, ltoa(limit));
- ^
- commands2.c:409:26: warning: the address of ‘buffer’ will always evaluate as ‘true’ [-Waddress]
- if (chan && chan->chop && buffer)
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:411:3: note: in expansion of macro ‘new_free’
- new_free(&save);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:411:3: note: in expansion of macro ‘new_free’
- new_free(&save);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:412:3: note: in expansion of macro ‘new_free’
- new_free(&save1);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:412:3: note: in expansion of macro ‘new_free’
- new_free(&save1);
- ^
- In file included from commands2.c:83:0:
- commands2.c: In function ‘mode_lock’:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:434:7: note: in expansion of macro ‘next_arg’
- t = next_arg(args, &args);
- ^
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:438:8: note: in expansion of macro ‘next_arg’
- t = next_arg(args, &args);
- ^
- /home/tabl/BitchX/include/modval.h:341:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_current_channel_by_refnum(x) ((char *) (global[GET_CURRENT_CHANNEL_
- ^
- commands2.c:440:14: note: in expansion of macro ‘get_current_channel_by_refnum’
- channel = get_current_channel_by_refnum(0);
- ^
- /home/tabl/BitchX/include/modval.h:433:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define lookup_channel(x, y, z) ((ChannelList *) (global[LOOKUP_CHANNEL]((char
- ^
- commands2.c:446:15: note: in expansion of macro ‘lookup_channel’
- if ((chan = lookup_channel(channel, from_server, 0)))
- ^
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:497:14: note: in expansion of macro ‘next_arg’
- key = next_arg(args, &args);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:524:4: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&buffer, valid_mode);
- ^
- /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:524:4: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&buffer, valid_mode);
- ^
- /home/tabl/BitchX/include/modval.h:115:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define malloc_strcat(x, y) ((char *)(global[MALLOC_STRCAT]((char **)x, (char *
- ^
- commands2.c:527:5: note: in expansion of macro ‘malloc_strcat’
- malloc_strcat(&buffer, space);
- ^
- /home/tabl/BitchX/include/modval.h:115:30: warning: value computed is not used [-Wunused-value]
- #define malloc_strcat(x, y) ((char *)(global[MALLOC_STRCAT]((char **)x, (char *
- ^
- commands2.c:527:5: note: in expansion of macro ‘malloc_strcat’
- malloc_strcat(&buffer, space);
- ^
- /home/tabl/BitchX/include/modval.h:115:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define malloc_strcat(x, y) ((char *)(global[MALLOC_STRCAT]((char **)x, (char *
- ^
- commands2.c:528:5: note: in expansion of macro ‘malloc_strcat’
- malloc_strcat(&buffer, key);
- ^
- /home/tabl/BitchX/include/modval.h:115:30: warning: value computed is not used [-Wunused-value]
- #define malloc_strcat(x, y) ((char *)(global[MALLOC_STRCAT]((char **)x, (char *
- ^
- commands2.c:528:5: note: in expansion of macro ‘malloc_strcat’
- malloc_strcat(&buffer, key);
- ^
- /home/tabl/BitchX/include/modval.h:115:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define malloc_strcat(x, y) ((char *)(global[MALLOC_STRCAT]((char **)x, (char *
- ^
- commands2.c:532:5: note: in expansion of macro ‘malloc_strcat’
- malloc_strcat(&buffer, space);
- ^
- /home/tabl/BitchX/include/modval.h:115:30: warning: value computed is not used [-Wunused-value]
- #define malloc_strcat(x, y) ((char *)(global[MALLOC_STRCAT]((char **)x, (char *
- ^
- commands2.c:532:5: note: in expansion of macro ‘malloc_strcat’
- malloc_strcat(&buffer, space);
- ^
- /home/tabl/BitchX/include/modval.h:167:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define ltoa(x) ((char *) (global[LTOA]((long)x)))
- ^
- /home/tabl/BitchX/include/modval.h:115:81: note: in definition of macro ‘malloc_strcat’
- oc_strcat(x, y) ((char *)(global[MALLOC_STRCAT]((char **)x, (char *)y, MODULENA
- ^
- commands2.c:533:28: note: in expansion of macro ‘ltoa’
- malloc_strcat(&buffer, ltoa(limit));
- ^
- /home/tabl/BitchX/include/modval.h:115:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define malloc_strcat(x, y) ((char *)(global[MALLOC_STRCAT]((char **)x, (char *
- ^
- commands2.c:533:5: note: in expansion of macro ‘malloc_strcat’
- malloc_strcat(&buffer, ltoa(limit));
- ^
- /home/tabl/BitchX/include/modval.h:115:30: warning: value computed is not used [-Wunused-value]
- #define malloc_strcat(x, y) ((char *)(global[MALLOC_STRCAT]((char **)x, (char *
- ^
- commands2.c:533:5: note: in expansion of macro ‘malloc_strcat’
- malloc_strcat(&buffer, ltoa(limit));
- ^
- /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:537:5: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&chan->modelock_key, buffer);
- ^
- /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:537:5: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&chan->modelock_key, buffer);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:549:7: note: in expansion of macro ‘next_arg’
- t = next_arg(args, &args);
- ^
- /home/tabl/BitchX/include/modval.h:433:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define lookup_channel(x, y, z) ((ChannelList *) (global[LOOKUP_CHANNEL]((char
- ^
- commands2.c:552:16: note: in expansion of macro ‘lookup_channel’
- if ((chan = lookup_channel(t, from_server, 0)))
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:554:5: note: in expansion of macro ‘new_free’
- new_free(&chan->modelock_key);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:554:5: note: in expansion of macro ‘new_free’
- new_free(&chan->modelock_key);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:549:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_server_channels(x) ((ChannelList *) (global[GET_SERVER_CHANNELS]((i
- ^
- commands2.c:562:16: note: in expansion of macro ‘get_server_channels’
- for (chan = get_server_channels(from_server); chan; chan = chan->next)
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:564:5: note: in expansion of macro ‘new_free’
- new_free(&chan->modelock_key);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:564:5: note: in expansion of macro ‘new_free’
- new_free(&chan->modelock_key);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:549:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_server_channels(x) ((ChannelList *) (global[GET_SERVER_CHANNELS]((i
- ^
- commands2.c:574:16: note: in expansion of macro ‘get_server_channels’
- for (chan = get_server_channels(from_server); chan; chan = chan->next)
- ^
- commands2.c: In function ‘randomnick’:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:587:14: note: in expansion of macro ‘next_arg’
- while ((p = next_arg(args, &args)))
- ^
- /home/tabl/BitchX/include/modval.h:270:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define random_str(x, y) ((char *) (global[RANDOM_STR]((int)x, (int)y)))
- ^
- commands2.c:601:59: note: in expansion of macro ‘random_str’
- send_to_server("NICK %s%s", prefix?prefix:empty_string, random_str(3,9-len));
- ^
- commands2.c: In function ‘topic_lock’:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:614:6: note: in expansion of macro ‘next_arg’
- t = next_arg(args, &args);
- ^
- /home/tabl/BitchX/include/modval.h:411:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define make_channel(x) ((char *) (global[MAKE_CHANNEL]((char *)x)))
- ^
- commands2.c:617:13: note: in expansion of macro ‘make_channel’
- channel = make_channel(t);
- ^
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:620:7: note: in expansion of macro ‘next_arg’
- t = next_arg(args, &args);
- ^
- /home/tabl/BitchX/include/modval.h:341:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_current_channel_by_refnum(x) ((char *) (global[GET_CURRENT_CHANNEL_
- ^
- commands2.c:622:13: note: in expansion of macro ‘get_current_channel_by_refnum’
- channel = get_current_channel_by_refnum(0);
- ^
- /home/tabl/BitchX/include/modval.h:433:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define lookup_channel(x, y, z) ((ChannelList *) (global[LOOKUP_CHANNEL]((char
- ^
- commands2.c:624:14: note: in expansion of macro ‘lookup_channel’
- if ((chan = lookup_channel(channel, from_server, 0)))
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:632:55: note: in expansion of macro ‘on_off’
- bitchsay("Topic lock for [%s] - %s", chan->channel, on_off(chan->topic_lock))
- ^
- In file included from commands2.c:83:0:
- commands2.c: In function ‘sping’:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:660:19: note: in expansion of macro ‘next_arg’
- while ((sname = next_arg(args, &args)))
- ^
- /home/tabl/BitchX/include/modval.h:533:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_server_itsname(x) ((char *) (global[GET_SERVER_ITSNAME]((int)x)))
- ^
- commands2.c:663:19: note: in expansion of macro ‘get_server_itsname’
- if (!(sname = get_server_itsname(from_server)))
- ^
- /home/tabl/BitchX/include/modval.h:532:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_server_name(x) ((char *) (global[GET_SERVER_NAME]((int)x)))
- ^
- commands2.c:664:14: note: in expansion of macro ‘get_server_name’
- sname = get_server_name(from_server);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:111:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_malloc(x) ((void *)(global[NEW_MALLOC]((x),MODULENAME, __FILE__,__L
- ^
- commands2.c:670:10: note: in expansion of macro ‘new_malloc’
- tmp = new_malloc(sizeof(Sping));
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:191:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define m_strdup(x) ((char *)(global[M_STRDUP]((char *)x, MODULENAME, __FILE__,
- ^
- commands2.c:671:17: note: in expansion of macro ‘m_strdup’
- tmp->sname = m_strdup(sname);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:532:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_server_name(x) ((char *) (global[GET_SERVER_NAME]((int)x)))
- ^
- /home/tabl/BitchX/include/modval.h:125:101: note: in definition of macro ‘my_stricmp’
- ((int)(global[MY_STRICMP]((const unsigned char *)x, (const unsigned char *)y)))
- ^
- commands2.c:679:27: note: in expansion of macro ‘get_server_name’
- if (!my_stricmp(sname, get_server_name(from_server)) || !my_stricmp(sname, g
- ^
- /home/tabl/BitchX/include/modval.h:533:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_server_itsname(x) ((char *) (global[GET_SERVER_ITSNAME]((int)x)))
- ^
- /home/tabl/BitchX/include/modval.h:125:101: note: in definition of macro ‘my_stricmp’
- ((int)(global[MY_STRICMP]((const unsigned char *)x, (const unsigned char *)y)))
- ^
- commands2.c:679:79: note: in expansion of macro ‘get_server_itsname’
- _stricmp(sname, get_server_name(from_server)) || !my_stricmp(sname, get_server_
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:533:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_server_itsname(x) ((char *) (global[GET_SERVER_ITSNAME]((int)x)))
- ^
- commands2.c:687:6: note: in expansion of macro ‘get_server_itsname’
- get_server_itsname(from_server) ?
- ^
- /home/tabl/BitchX/include/modval.h:533:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_server_itsname(x) ((char *) (global[GET_SERVER_ITSNAME]((int)x)))
- ^
- commands2.c:688:6: note: in expansion of macro ‘get_server_itsname’
- get_server_itsname(from_server) :
- ^
- /home/tabl/BitchX/include/modval.h:532:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_server_name(x) ((char *) (global[GET_SERVER_NAME]((int)x)))
- ^
- commands2.c:689:6: note: in expansion of macro ‘get_server_name’
- get_server_name(from_server), sname);
- ^
- In file included from commands2.c:83:0:
- commands2.c: In function ‘tog_fprot’:
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:750:46: note: in expansion of macro ‘on_off’
- bitchsay("Toggled flood protection - [%s]", on_off(here));
- ^
- commands2.c: In function ‘do_toggle’:
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:777:168: note: in expansion of macro ‘on_off’
- tion %K[%W$[-3]1%K] %Cbeep%c %K[%W$[-3]2%K]", "%s %s %s", on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:777:208: note: in expansion of macro ‘on_off’
- K[%W$[-3]2%K]", "%s %s %s", on_off(get_int_var(AUTO_NSLOOKUP_VAR)), on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:777:256: note: in expansion of macro ‘on_off’
- UTO_NSLOOKUP_VAR)), on_off(get_int_var(CTCP_FLOOD_PROTECTION_VAR)), on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:778:168: note: in expansion of macro ‘on_off’
- %K[%W$[-3]1%K] %Ckickf%clood %K[%W$[-3]2%K]", "%s %s %s", on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:778:203: note: in expansion of macro ‘on_off’
- d %K[%W$[-3]2%K]", "%s %s %s", on_off(get_int_var(PUBFLOOD_VAR)), on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:778:246: note: in expansion of macro ‘on_off’
- _int_var(PUBFLOOD_VAR)), on_off(get_int_var(FLOOD_PROTECTION_VAR)), on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:779:168: note: in expansion of macro ‘on_off’
- %K[%W$[-3]1%K] %Cmsg%clog %K[%W$[-3]2%K]", "%s %s %s", on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:779:206: note: in expansion of macro ‘on_off’
- %K[%W$[-3]2%K]", "%s %s %s", on_off(get_int_var(DCC_AUTOGET_VAR)), on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:779:243: note: in expansion of macro ‘on_off’
- get_int_var(DCC_AUTOGET_VAR)), on_off(get_int_var(FLOOD_KICK_VAR)), on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:780:168: note: in expansion of macro ‘on_off’
- %K[%W$[-3]1%K] %Cjoin%cflood %K[%W$[-3]2%K]", "%s %s %s", on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:780:200: note: in expansion of macro ‘on_off’
- lood %K[%W$[-3]2%K]", "%s %s %s", on_off(get_int_var(LLOOK_VAR)), on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:780:236: note: in expansion of macro ‘on_off’
- on_off(get_int_var(LLOOK_VAR)), on_off(get_int_var(DEOPFLOOD_VAR)), on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:781:168: note: in expansion of macro ‘on_off’
- %K[%W$[-3]1%K] %Cnickfl%cood %K[%W$[-3]2%K]", "%s %s %s", on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:781:206: note: in expansion of macro ‘on_off’
- %K[%W$[-3]2%K]", "%s %s %s", on_off(get_int_var(AUTO_WHOWAS_VAR)), on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:781:245: note: in expansion of macro ‘on_off’
- t_int_var(AUTO_WHOWAS_VAR)), on_off(get_int_var(CTCP_VERBOSE_VAR)), on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:782:168: note: in expansion of macro ‘on_off’
- %K[%W$[-3]1%K] %Cshit%clist %K[%W$[-3]2%K]", "%s %s %s", on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:782:200: note: in expansion of macro ‘on_off’
- ist %K[%W$[-3]2%K]", "%s %s %s", on_off(get_int_var(CLOAK_VAR)), on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:782:229: note: in expansion of macro ‘on_off’
- s %s", on_off(get_int_var(CLOAK_VAR)), on_off(get_int_var(OV_VAR)), on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:783:168: note: in expansion of macro ‘on_off’
- %K[%W$[-3]1%K] %Cuser%clist %K[%W$[-3]2%K]", "%s %s %s", on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:783:203: note: in expansion of macro ‘on_off’
- %K[%W$[-3]2%K]", "%s %s %s", on_off(get_int_var(KICK_OPS_VAR)), on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:783:240: note: in expansion of macro ‘on_off’
- ff(get_int_var(KICK_OPS_VAR)), on_off(get_int_var(ANNOY_KICK_VAR)), on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:784:168: note: in expansion of macro ‘on_off’
- %K[%W$[-3]1%K] %Cauto_rej%coin %K[%W$[-3]2%K]", "%s %s %s", on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:784:201: note: in expansion of macro ‘on_off’
- %coin %K[%W$[-3]2%K]", "%s %s %s", on_off(get_int_var(HACKING_VAR)),on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:784:243: note: in expansion of macro ‘on_off’
- get_int_var(HACKING_VAR)),on_off(get_int_var(NICK_COMPLETION_VAR)), on_off((get
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:785:166: note: in expansion of macro ‘on_off’
- %K[%W$[-3]1%K] %Cauto_rec%conn %K[%W$[-3]2%K]", "%s %s %s", on_off((get
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:785:201: note: in expansion of macro ‘on_off’
- onn %K[%W$[-3]2%K]", "%s %s %s", on_off((get_int_var(AOP_VAR)?1:0)),on_off((get
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:785:239: note: in expansion of macro ‘on_off’
- f((get_int_var(AOP_VAR)?1:0)),on_off((get_int_var(AUTO_AWAY_VAR))), on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:786:164: note: in expansion of macro ‘on_off’
- %K[%W$[-3]1%K] %Ckick_if_ban %K[%W$[-3]2%K]", "%s %s %s", on_off((get
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:786:197: note: in expansion of macro ‘on_off’
- f_ban %K[%W$[-3]2%K]", "%s %s %s", on_off((get_int_var(BITCH_VAR))),on_off((get
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:786:234: note: in expansion of macro ‘on_off’
- _off((get_int_var(BITCH_VAR))),on_off((get_int_var(DCC_FAST_VAR))), on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:787:166: note: in expansion of macro ‘on_off’
- %K[%W$[-3]1%K] %Chttp%c_grab %K[%W$[-3]2%K]", "%s %s %s", on_off((get
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:787:202: note: in expansion of macro ‘on_off’
- %K[%W$[-3]2%K]", "%s %s %s", on_off((get_int_var(FTP_GRAB_VAR))),on_off((get
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:787:235: note: in expansion of macro ‘on_off’
- n_off((get_int_var(FTP_GRAB_VAR))),on_off((get_int_var(MIRCS_VAR))),on_off((get
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:788:164: note: in expansion of macro ‘on_off’
- %K[%W$[-3]1%K] %Clog %K[%W$[-3]2%K]", "%s %s %s", on_off((get
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:788:204: note: in expansion of macro ‘on_off’
- K[%W$[-3]2%K]", "%s %s %s", on_off((get_int_var(DISPLAY_ANSI_VAR))),on_off((get
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:788:242: note: in expansion of macro ‘on_off’
- t_int_var(DISPLAY_ANSI_VAR))),on_off((get_int_var(TIMESTAMP_VAR))), on_off((get
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:796:16: note: in expansion of macro ‘next_arg’
- while ((arg = next_arg(args, &args)))
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:138:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define upper(x) ((char *) (global[UPPER]((char *)x)))
- ^
- commands2.c:800:3: note: in expansion of macro ‘upper’
- upper(arg);
- ^
- /home/tabl/BitchX/include/modval.h:138:19: warning: value computed is not used [-Wunused-value]
- #define upper(x) ((char *) (global[UPPER]((char *)x)))
- ^
- commands2.c:800:3: note: in expansion of macro ‘upper’
- upper(arg);
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:945:40: note: in expansion of macro ‘on_off’
- if (do_hook(SET_LIST, "%s %s", arg, on_off(get_int_var(DISPLAY_ANSI_VAR))))
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:946:92: note: in expansion of macro ‘on_off’
- t_output_format("$G %cToggled %GAnsi Display %K[%W$[-3]0%K]", "%s", on_off(get_
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:471:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_string_var(x) ((char *) (global[GET_STRING_VAR]((int)x)))
- ^
- /home/tabl/BitchX/include/modval.h:401:90: note: in definition of macro ‘set_input_prompt’
- mpt(x, y, z) ((void) (global[SET_INPUT_PROMPT]((Window *)x, (char *)y, (int)z))
- ^
- commands2.c:948:37: note: in expansion of macro ‘get_string_var’
- set_input_prompt(current_window, get_string_var(INPUT_PROMPT_VAR), 0);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:964:40: note: in expansion of macro ‘on_off’
- if (do_hook(SET_LIST, "%s %s", arg, on_off(get_int_var(var))))
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:965:51: note: in expansion of macro ‘on_off’
- put_it("%s", convert_output_format(str, "%s", on_off(get_int_var(var)) ));
- ^
- commands2.c: In function ‘show_version’:
- /home/tabl/BitchX/include/modval.h:455:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define fget_string_var(x) ((char *)(global[FGET_STRING_VAR]((int)x)))
- ^
- /home/tabl/BitchX/include/modval.h:114:81: note: in definition of macro ‘malloc_strcpy’
- oc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *)y, MODULENA
- ^
- commands2.c:985:67: note: in expansion of macro ‘fget_string_var’
- malloc_strcpy(&version_buf, stripansicodes(convert_output_format(fget_string_v
- ^
- /home/tabl/BitchX/include/modval.h:259:31: warning: pointer targets in passing argument 1 of ‘stripansicodes’ differ in signedness [-Wpointer-sign]
- #define convert_output_format ((char * (*)())global[CONVERT_OUTPUT_FORMAT])
- ^
- /home/tabl/BitchX/include/modval.h:114:81: note: in definition of macro ‘malloc_strcpy’
- oc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *)y, MODULENA
- ^
- commands2.c:985:45: note: in expansion of macro ‘convert_output_format’
- malloc_strcpy(&version_buf, stripansicodes(convert_output_format(fget_string_v
- ^
- In file included from commands2.c:73:0:
- /home/tabl/BitchX/include/misc.h:74:8: note: expected ‘const unsigned char *’ but argument is of type ‘char *’
- char *stripansicodes (const unsigned char *);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:985:2: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&version_buf, stripansicodes(convert_output_format(fget_string_v
- ^
- /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:985:2: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&version_buf, stripansicodes(convert_output_format(fget_string_v
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:990:10: note: in expansion of macro ‘next_arg’
- nick = next_arg(args, &args);
- ^
- /home/tabl/BitchX/include/modval.h:341:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_current_channel_by_refnum(x) ((char *) (global[GET_CURRENT_CHANNEL_
- ^
- commands2.c:992:10: note: in expansion of macro ‘get_current_channel_by_refnum’
- nick = get_current_channel_by_refnum(0);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:994:2: note: in expansion of macro ‘new_free’
- new_free(&version_buf);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:994:2: note: in expansion of macro ‘new_free’
- new_free(&version_buf);
- ^
- In file included from commands2.c:83:0:
- commands2.c: In function ‘who_user_kill’:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1016:16: note: in expansion of macro ‘next_arg’
- server = atol(next_arg(arg, &arg));
- ^
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1017:13: note: in expansion of macro ‘next_arg’
- nick_arg = next_arg(arg, &arg);
- ^
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1026:12: note: in expansion of macro ‘next_arg’
- t_nick = next_arg(arg, &arg);
- ^
- commands2.c: In function ‘who_user_killend’:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1045:17: note: in expansion of macro ‘next_arg’
- server = atol(next_arg(who_buff, &who_buff));
- ^
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1046:13: note: in expansion of macro ‘next_arg’
- pattern = next_arg(who_buff, &who_buff);
- ^
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1047:11: note: in expansion of macro ‘next_arg’
- match = next_arg(who_buff, &who_buff);
- ^
- /home/tabl/BitchX/include/modval.h:200:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_in_comma_list(x, y) ((char *)(global[NEXT_IN_COMMA_LIST]((char *)x
- ^
- commands2.c:1057:19: note: in expansion of macro ‘next_in_comma_list’
- while ((nick = next_in_comma_list(m_buff, &m_buff)))
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:119:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define m_s3cat(x, y, z) ((char *)(global[M_S3CAT]((char **)x, (char *)y, (char
- ^
- commands2.c:1061:5: note: in expansion of macro ‘m_s3cat’
- m_s3cat(&save_buffer, space, nick);
- ^
- /home/tabl/BitchX/include/modval.h:119:27: warning: value computed is not used [-Wunused-value]
- #define m_s3cat(x, y, z) ((char *)(global[M_S3CAT]((char **)x, (char *)y, (char
- ^
- commands2.c:1061:5: note: in expansion of macro ‘m_s3cat’
- m_s3cat(&save_buffer, space, nick);
- ^
- /home/tabl/BitchX/include/modval.h:119:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define m_s3cat(x, y, z) ((char *)(global[M_S3CAT]((char **)x, (char *)y, (char
- ^
- commands2.c:1066:5: note: in expansion of macro ‘m_s3cat’
- m_s3cat(&buffer, ",", nick);
- ^
- /home/tabl/BitchX/include/modval.h:119:27: warning: value computed is not used [-Wunused-value]
- #define m_s3cat(x, y, z) ((char *)(global[M_S3CAT]((char **)x, (char *)y, (char
- ^
- commands2.c:1066:5: note: in expansion of macro ‘m_s3cat’
- m_s3cat(&buffer, ",", nick);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1071:6: note: in expansion of macro ‘new_free’
- new_free(&buffer);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1071:6: note: in expansion of macro ‘new_free’
- new_free(&buffer);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1080:4: note: in expansion of macro ‘new_free’
- new_free(&save_buffer);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1080:4: note: in expansion of macro ‘new_free’
- new_free(&save_buffer);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1081:4: note: in expansion of macro ‘new_free’
- new_free(&buffer);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1081:4: note: in expansion of macro ‘new_free’
- new_free(&buffer);
- ^
- In file included from commands2.c:83:0:
- commands2.c: In function ‘whokill’:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1102:20: note: in expansion of macro ‘next_arg’
- while ((pattern = next_arg(args, &args)))
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1108:3: note: in expansion of macro ‘new_free’
- new_free(&nick_arg);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1108:3: note: in expansion of macro ‘new_free’
- new_free(&nick_arg);
- ^
- commands2.c: In function ‘trace_handlekill’:
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1129:3: note: in expansion of macro ‘new_free’
- new_free(&treason);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1129:3: note: in expansion of macro ‘new_free’
- new_free(&treason);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1130:3: note: in expansion of macro ‘new_free’
- new_free(&tnick_arg);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1130:3: note: in expansion of macro ‘new_free’
- new_free(&tnick_arg);
- ^
- /home/tabl/BitchX/include/modval.h:531:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_server_nickname(x) ((char *) (global[GET_SERVER_NICKNAME]((int)x)))
- ^
- /home/tabl/BitchX/include/modval.h:125:101: note: in definition of macro ‘my_stricmp’
- ((int)(global[MY_STRICMP]((const unsigned char *)x, (const unsigned char *)y)))
- ^
- commands2.c:1134:24: note: in expansion of macro ‘get_server_nickname’
- if (!my_stricmp(nick, get_server_nickname(from_server)))
- ^
- /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:1138:3: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&treason, get_reason(nick, NULL));
- ^
- /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:1138:3: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&treason, get_reason(nick, NULL));
- ^
- commands2.c: In function ‘handle_tracekill’:
- /home/tabl/BitchX/include/modval.h:129:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define chop(x, n) ((char *) (global[CHOP]((char *)x, (int)n)))
- ^
- commands2.c:1155:2: note: in expansion of macro ‘chop’
- chop(q, 1);
- ^
- /home/tabl/BitchX/include/modval.h:129:21: warning: value computed is not used [-Wunused-value]
- #define chop(x, n) ((char *) (global[CHOP]((char *)x, (int)n)))
- ^
- commands2.c:1155:2: note: in expansion of macro ‘chop’
- chop(q, 1);
- ^
- /home/tabl/BitchX/include/modval.h:531:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_server_nickname(x) ((char *) (global[GET_SERVER_NICKNAME]((int)x)))
- ^
- /home/tabl/BitchX/include/modval.h:125:101: note: in definition of macro ‘my_stricmp’
- ((int)(global[MY_STRICMP]((const unsigned char *)x, (const unsigned char *)y)))
- ^
- commands2.c:1162:23: note: in expansion of macro ‘get_server_nickname’
- if (!my_stricmp(n, get_server_nickname(from_server)))
- ^
- In file included from commands2.c:83:0:
- commands2.c: In function ‘tracekill’:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1179:18: note: in expansion of macro ‘next_arg’
- if (!(pattern = next_arg(args, &args)))
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:1182:3: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&treason, args);
- ^
- /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:1182:3: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&treason, args);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1184:3: note: in expansion of macro ‘new_free’
- new_free(&treason);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1184:3: note: in expansion of macro ‘new_free’
- new_free(&treason);
- ^
- In file included from commands2.c:83:0:
- commands2.c: In function ‘traceserv’:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1206:17: note: in expansion of macro ‘next_arg’
- if (!(server = next_arg(args, &args)) ||
- ^
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1207:15: note: in expansion of macro ‘next_arg’
- !(pattern = next_arg(args, &args)))
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:1210:10: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&treason, args);
- ^
- /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:1210:10: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&treason, args);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1212:3: note: in expansion of macro ‘new_free’
- new_free(&treason);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1212:3: note: in expansion of macro ‘new_free’
- new_free(&treason);
- ^
- In file included from commands2.c:83:0:
- commands2.c: In function ‘jnw’:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1303:17: note: in expansion of macro ‘next_arg’
- if ((channel = next_arg(args, &args)))
- ^
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1308:20: note: in expansion of macro ‘next_arg’
- if (!(channel = next_arg(args, &args)))
- ^
- /home/tabl/BitchX/include/modval.h:299:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_window(x) ((Window *) (global[NEW_WINDOW]((Screen *)x)))
- ^
- commands2.c:1312:14: note: in expansion of macro ‘new_window’
- if ((tmp = new_window(current_window->screen)))
- ^
- /home/tabl/BitchX/include/modval.h:411:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define make_channel(x) ((char *) (global[MAKE_CHANNEL]((char *)x)))
- ^
- commands2.c:1317:30: note: in expansion of macro ‘make_channel’
- if (channel && (channel = make_channel(channel)))
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:1320:5: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&tmp->waiting_channel, channel);
- ^
- /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:1320:5: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&tmp->waiting_channel, channel);
- ^
- In file included from commands2.c:83:0:
- commands2.c: In function ‘change_orig_nick’:
- /home/tabl/BitchX/include/modval.h:531:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_server_nickname(x) ((char *) (global[GET_SERVER_NICKNAME]((int)x)))
- ^
- commands2.c:1334:17: note: in expansion of macro ‘get_server_nickname’
- char *curnick = get_server_nickname(server);
- ^
- commands2.c: In function ‘gain_nick’:
- /home/tabl/BitchX/include/modval.h:481:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define add_timer(x, y, z, n, f, a, b, w, c) ((char *) (global[ADD_TIMER]((int)
- ^
- commands2.c:1359:3: note: in expansion of macro ‘add_timer’
- add_timer(0, empty_string, get_int_var(ORIGNICK_TIME_VAR) * 1000, 1, delay_ga
- ^
- /home/tabl/BitchX/include/modval.h:481:47: warning: value computed is not used [-Wunused-value]
- #define add_timer(x, y, z, n, f, a, b, w, c) ((char *) (global[ADD_TIMER]((int)
- ^
- commands2.c:1359:3: note: in expansion of macro ‘add_timer’
- add_timer(0, empty_string, get_int_var(ORIGNICK_TIME_VAR) * 1000, 1, delay_ga
- ^
- commands2.c: In function ‘orig_nick’:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1391:34: note: in expansion of macro ‘next_arg’
- if (!args || !*args || !(nick = next_arg(args, &args)))
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:145:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define check_nickname(x) ((char *) (global[CHECK_NICKNAME]((char *)x)))
- ^
- commands2.c:1411:20: note: in expansion of macro ‘check_nickname’
- else if ((nick = check_nickname(nick)))
- ^
- commands2.c: In function ‘add_bad_nick’:
- /home/tabl/BitchX/include/modval.h:119:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define m_s3cat(x, y, z) ((char *)(global[M_S3CAT]((char **)x, (char *)y, (char
- ^
- commands2.c:1443:6: note: in expansion of macro ‘m_s3cat’
- m_s3cat(&buffer, lame_nick->nick, "\t");
- ^
- /home/tabl/BitchX/include/modval.h:119:27: warning: value computed is not used [-Wunused-value]
- #define m_s3cat(x, y, z) ((char *)(global[M_S3CAT]((char **)x, (char *)y, (char
- ^
- commands2.c:1443:6: note: in expansion of macro ‘m_s3cat’
- m_s3cat(&buffer, lame_nick->nick, "\t");
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1451:6: note: in expansion of macro ‘new_free’
- new_free(&buffer);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1451:6: note: in expansion of macro ‘new_free’
- new_free(&buffer);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1456:4: note: in expansion of macro ‘new_free’
- new_free(&buffer);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1456:4: note: in expansion of macro ‘new_free’
- new_free(&buffer);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1464:10: note: in expansion of macro ‘next_arg’
- nick = next_arg(args, &args);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:111:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_malloc(x) ((void *)(global[NEW_MALLOC]((x),MODULENAME, __FILE__,__L
- ^
- commands2.c:1468:28: note: in expansion of macro ‘new_malloc’
- lame_nick = (LameList *)new_malloc(sizeof(LameList));
- ^
- /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:1469:4: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&lame_nick->nick, nick);
- ^
- /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:1469:4: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&lame_nick->nick, nick);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:228:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define remove_from_list(x, y) ((List *) (global[REMOVE_FROM_LIST_]((List **)x,
- ^
- commands2.c:1474:28: note: in expansion of macro ‘remove_from_list’
- lame_nick = (LameList *)remove_from_list((List **)&lame_list, nick);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1477:5: note: in expansion of macro ‘new_free’
- new_free(&lame_nick->nick);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1477:5: note: in expansion of macro ‘new_free’
- new_free(&lame_nick->nick);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1478:5: note: in expansion of macro ‘new_free’
- new_free((char **)&lame_nick);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1478:5: note: in expansion of macro ‘new_free’
- new_free((char **)&lame_nick);
- ^
- /home/tabl/BitchX/include/modval.h:119:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define m_s3cat(x, y, z) ((char *)(global[M_S3CAT]((char **)x, (char *)y, (char
- ^
- commands2.c:1486:5: note: in expansion of macro ‘m_s3cat’
- m_s3cat(&buffer, nick, "\t");
- ^
- /home/tabl/BitchX/include/modval.h:119:27: warning: value computed is not used [-Wunused-value]
- #define m_s3cat(x, y, z) ((char *)(global[M_S3CAT]((char **)x, (char *)y, (char
- ^
- commands2.c:1486:5: note: in expansion of macro ‘m_s3cat’
- m_s3cat(&buffer, nick, "\t");
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1493:2: note: in expansion of macro ‘new_free’
- new_free(&buffer);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1493:2: note: in expansion of macro ‘new_free’
- new_free(&buffer);
- ^
- commands2.c: In function ‘grab_http’:
- /home/tabl/BitchX/include/modval.h:140:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define stristr(x, y) ((char *) (global[STRISTR]((const char *)x, (char *)y)))
- ^
- commands2.c:1515:37: note: in expansion of macro ‘stristr’
- if ((get_int_var(HTTP_GRAB_VAR) && stristr(text, "HTTP:")) || (get_int_var(FTP
- ^
- /home/tabl/BitchX/include/modval.h:140:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define stristr(x, y) ((char *) (global[STRISTR]((const char *)x, (char *)y)))
- ^
- commands2.c:1515:95: note: in expansion of macro ‘stristr’
- B_VAR) && stristr(text, "HTTP:")) || (get_int_var(FTP_GRAB_VAR) && (stristr(tex
- ^
- /home/tabl/BitchX/include/modval.h:140:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define stristr(x, y) ((char *) (global[STRISTR]((const char *)x, (char *)y)))
- ^
- commands2.c:1515:120: note: in expansion of macro ‘stristr’
- HTTP:")) || (get_int_var(FTP_GRAB_VAR) && (stristr(text, "FTP:") || stristr(tex
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1522:5: note: in expansion of macro ‘new_free’
- new_free(&q);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1522:5: note: in expansion of macro ‘new_free’
- new_free(&q);
- ^
- /home/tabl/BitchX/include/modval.h:111:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_malloc(x) ((void *)(global[NEW_MALLOC]((x),MODULENAME, __FILE__,__L
- ^
- commands2.c:1537:25: note: in expansion of macro ‘new_malloc’
- new_url = (UrlList *) new_malloc(sizeof(UrlList));
- ^
- In file included from commands2.c:83:0:
- commands2.c: In function ‘url_grabber’:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1564:15: note: in expansion of macro ‘next_arg’
- while ((p = next_arg(args, &args)))
- ^
- /home/tabl/BitchX/include/modval.h:471:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_string_var(x) ((char *) (global[GET_STRING_VAR]((int)x)))
- ^
- commands2.c:1573:56: note: in expansion of macro ‘get_string_var’
- snprintf(buffer, BIG_BUFFER_SIZE, "%s/BitchX.url", get_string_var(CTOOLZ_DI
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:144:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define expand_twiddle(x) ((char *) (global[EXPAND_TWIDDLE]((char *)x)))
- ^
- commands2.c:1574:16: note: in expansion of macro ‘expand_twiddle’
- filename = expand_twiddle(buffer);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1578:15: note: in expansion of macro ‘next_arg’
- number = next_arg(args, &args);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1584:5: note: in expansion of macro ‘new_free’
- new_free(&filename);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1584:5: note: in expansion of macro ‘new_free’
- new_free(&filename);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1592:6: note: in expansion of macro ‘new_free’
- new_free(&cur_url);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1592:6: note: in expansion of macro ‘new_free’
- new_free(&cur_url);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1601:17: note: in expansion of macro ‘next_arg’
- char *ans = next_arg(args, &args);
- ^
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1611:17: note: in expansion of macro ‘next_arg’
- char *ans = next_arg(args, &args);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1628:7: note: in expansion of macro ‘new_free’
- new_free(&cur_url);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1628:7: note: in expansion of macro ‘new_free’
- new_free(&cur_url);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1643:14: note: in expansion of macro ‘new_free’
- new_free(&cur_url);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1643:14: note: in expansion of macro ‘new_free’
- new_free(&cur_url);
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:1671:96: note: in expansion of macro ‘on_off’
- ut_format("$G HTTP grab %K[%W$0%K]%n FTP grab %K[%W$1%K]", "%s %s", on_off(get_
- ^
- /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
- ^
- commands2.c:1671:132: note: in expansion of macro ‘on_off’
- FTP grab %K[%W$1%K]", "%s %s", on_off(get_int_var(HTTP_GRAB_VAR)), on_off(get_
- ^
- commands2.c: In function ‘set_autoreply’:
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1739:3: note: in expansion of macro ‘new_free’
- new_free(&auto_str);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1739:3: note: in expansion of macro ‘new_free’
- new_free(&auto_str);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1744:7: note: in expansion of macro ‘next_arg’
- p = next_arg(args, &args);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:123:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define m_e3cat(x, y, z) ((char *)(global[M_E3CAT]((char **)x, (char *)y, (char
- ^
- commands2.c:1748:4: note: in expansion of macro ‘m_e3cat’
- m_e3cat(&new_args, nickname, space);
- ^
- /home/tabl/BitchX/include/modval.h:123:27: warning: value computed is not used [-Wunused-value]
- #define m_e3cat(x, y, z) ((char *)(global[M_E3CAT]((char **)x, (char *)y, (char
- ^
- commands2.c:1748:4: note: in expansion of macro ‘m_e3cat’
- m_e3cat(&new_args, nickname, space);
- ^
- /home/tabl/BitchX/include/modval.h:123:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define m_e3cat(x, y, z) ((char *)(global[M_E3CAT]((char **)x, (char *)y, (char
- ^
- commands2.c:1749:4: note: in expansion of macro ‘m_e3cat’
- m_e3cat(&new_args, strip(nickname, not_wanted1), (len > 4 ? space: empty_str
- ^
- /home/tabl/BitchX/include/modval.h:123:27: warning: value computed is not used [-Wunused-value]
- #define m_e3cat(x, y, z) ((char *)(global[M_E3CAT]((char **)x, (char *)y, (char
- ^
- commands2.c:1749:4: note: in expansion of macro ‘m_e3cat’
- m_e3cat(&new_args, strip(nickname, not_wanted1), (len > 4 ? space: empty_str
- ^
- /home/tabl/BitchX/include/modval.h:123:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define m_e3cat(x, y, z) ((char *)(global[M_E3CAT]((char **)x, (char *)y, (char
- ^
- commands2.c:1757:6: note: in expansion of macro ‘m_e3cat’
- m_e3cat(&new_args, new_nick, space);
- ^
- /home/tabl/BitchX/include/modval.h:123:27: warning: value computed is not used [-Wunused-value]
- #define m_e3cat(x, y, z) ((char *)(global[M_E3CAT]((char **)x, (char *)y, (char
- ^
- commands2.c:1757:6: note: in expansion of macro ‘m_e3cat’
- m_e3cat(&new_args, new_nick, space);
- ^
- /home/tabl/BitchX/include/modval.h:123:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define m_e3cat(x, y, z) ((char *)(global[M_E3CAT]((char **)x, (char *)y, (char
- ^
- commands2.c:1760:5: note: in expansion of macro ‘m_e3cat’
- m_e3cat(&new_args, strip(nickname, not_wanted2), (len > 4 ? space:empty_str
- ^
- /home/tabl/BitchX/include/modval.h:123:27: warning: value computed is not used [-Wunused-value]
- #define m_e3cat(x, y, z) ((char *)(global[M_E3CAT]((char **)x, (char *)y, (char
- ^
- commands2.c:1760:5: note: in expansion of macro ‘m_e3cat’
- m_e3cat(&new_args, strip(nickname, not_wanted2), (len > 4 ? space:empty_str
- ^
- /home/tabl/BitchX/include/modval.h:115:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define malloc_strcat(x, y) ((char *)(global[MALLOC_STRCAT]((char **)x, (char *
- ^
- commands2.c:1768:6: note: in expansion of macro ‘malloc_strcat’
- malloc_strcat(&new_args, new_nick);
- ^
- /home/tabl/BitchX/include/modval.h:115:30: warning: value computed is not used [-Wunused-value]
- #define malloc_strcat(x, y) ((char *)(global[MALLOC_STRCAT]((char **)x, (char *
- ^
- commands2.c:1768:6: note: in expansion of macro ‘malloc_strcat’
- malloc_strcat(&new_args, new_nick);
- ^
- /home/tabl/BitchX/include/modval.h:121:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define m_3cat(x, y, z) ((char *) (global[M_3CAT]((char **)x, (char *)y, (char
- ^
- commands2.c:1776:5: note: in expansion of macro ‘m_3cat’
- m_3cat(&new_args, p, args?space:empty_string);
- ^
- /home/tabl/BitchX/include/modval.h:121:26: warning: value computed is not used [-Wunused-value]
- #define m_3cat(x, y, z) ((char *) (global[M_3CAT]((char **)x, (char *)y, (char
- ^
- commands2.c:1776:5: note: in expansion of macro ‘m_3cat’
- m_3cat(&new_args, p, args?space:empty_string);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1777:18: note: in expansion of macro ‘next_arg’
- } while ((p = next_arg(args, &args)));
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1781:3: note: in expansion of macro ‘new_free’
- new_free(&new_args);
- ^
- /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
- #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
- ^
- commands2.c:1781:3: note: in expansion of macro ‘new_free’
- new_free(&new_args);
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:471:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_string_var(x) ((char *) (global[GET_STRING_VAR]((int)x)))
- ^
- commands2.c:1782:45: note: in expansion of macro ‘get_string_var’
- bitchsay("Auto-Response now set to [%s]", get_string_var(AUTO_RESPONSE_STR_VA
- ^
- commands2.c: In function ‘add_no_flood’:
- /home/tabl/BitchX/include/modval.h:439:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_namelist(x, y, z) ((List *) (global[NEXT_NAMELIST]((HashEntry *)x,
- ^
- commands2.c:1812:15: note: in expansion of macro ‘next_namelist’
- for (nptr = next_namelist(no_flood_list, NULL, FLOOD_HASHSIZE); nptr; nptr =
- ^
- /home/tabl/BitchX/include/modval.h:439:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_namelist(x, y, z) ((List *) (global[NEXT_NAMELIST]((HashEntry *)x,
- ^
- commands2.c:1812:80: note: in expansion of macro ‘next_namelist’
- = next_namelist(no_flood_list, NULL, FLOOD_HASHSIZE); nptr; nptr = next_nameli
- ^
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1822:9: note: in expansion of macro ‘next_arg’
- nick = next_arg(args, &args);
- ^
- /home/tabl/BitchX/include/modval.h:441:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define find_name_in_genericlist(x, y, z, a) ((List *) (global[FIND_NAME_IN_GEN
- ^
- commands2.c:1825:16: note: in expansion of macro ‘find_name_in_genericlist’
- if (!(nptr = find_name_in_genericlist(nick, no_flood_list, FLOOD_HASHSIZE, 0)
- ^
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1827:10: note: in expansion of macro ‘next_arg’
- nick = next_arg(args, &args);
- ^
- commands2.c: In function ‘check_clones’:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1840:13: note: in expansion of macro ‘next_arg’
- channel = next_arg(args, &args);
- ^
- /home/tabl/BitchX/include/modval.h:411:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define make_channel(x) ((char *) (global[MAKE_CHANNEL]((char *)x)))
- ^
- commands2.c:1841:13: note: in expansion of macro ‘make_channel’
- channel = make_channel(channel);
- ^
- /home/tabl/BitchX/include/modval.h:258:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define prepare_command(x, y, z) ((ChannelList *)(global[PREPARE_COMMAND](x, y,
- ^
- commands2.c:1842:10: note: in expansion of macro ‘prepare_command’
- chan = prepare_command(&server, channel, NO_OP);
- ^
- /home/tabl/BitchX/include/modval.h:341:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_current_channel_by_refnum(x) ((char *) (global[GET_CURRENT_CHANNEL_
- ^
- commands2.c:1846:13: note: in expansion of macro ‘get_current_channel_by_refnum’
- channel = get_current_channel_by_refnum(0);
- ^
- /home/tabl/BitchX/include/modval.h:258:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define prepare_command(x, y, z) ((ChannelList *)(global[PREPARE_COMMAND](x, y,
- ^
- commands2.c:1847:10: note: in expansion of macro ‘prepare_command’
- chan = prepare_command(&server, channel, NO_OP);
- ^
- /home/tabl/BitchX/include/modval.h:438:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_nicklist(x, y) ((NickList *) (global[NEXT_NICKLIST] ((ChannelList
- ^
- commands2.c:1851:14: note: in expansion of macro ‘next_nicklist’
- for (nptr = next_nicklist(chan, NULL); nptr; nptr = next_nicklist(chan, nptr))
- ^
- /home/tabl/BitchX/include/modval.h:438:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_nicklist(x, y) ((NickList *) (global[NEXT_NICKLIST] ((ChannelList
- ^
- commands2.c:1851:54: note: in expansion of macro ‘next_nicklist’
- for (nptr = next_nicklist(chan, NULL); nptr; nptr = next_nicklist(chan, nptr))
- ^
- /home/tabl/BitchX/include/modval.h:438:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_nicklist(x, y) ((NickList *) (global[NEXT_NICKLIST] ((ChannelList
- ^
- commands2.c:1853:14: note: in expansion of macro ‘next_nicklist’
- for (nptr = next_nicklist(chan, NULL); nptr; nptr = next_nicklist(chan, nptr))
- ^
- /home/tabl/BitchX/include/modval.h:438:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_nicklist(x, y) ((NickList *) (global[NEXT_NICKLIST] ((ChannelList
- ^
- commands2.c:1853:54: note: in expansion of macro ‘next_nicklist’
- for (nptr = next_nicklist(chan, NULL); nptr; nptr = next_nicklist(chan, nptr))
- ^
- /home/tabl/BitchX/include/modval.h:438:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_nicklist(x, y) ((NickList *) (global[NEXT_NICKLIST] ((ChannelList
- ^
- commands2.c:1858:16: note: in expansion of macro ‘next_nicklist’
- for (nptr1 = next_nicklist(chan, NULL); nptr1; nptr1 = next_nicklist(chan, np
- ^
- /home/tabl/BitchX/include/modval.h:438:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_nicklist(x, y) ((NickList *) (global[NEXT_NICKLIST] ((ChannelList
- ^
- commands2.c:1858:58: note: in expansion of macro ‘next_nicklist’
- for (nptr1 = next_nicklist(chan, NULL); nptr1; nptr1 = next_nicklist(chan, np
- ^
- commands2.c: In function ‘pastecmd’:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1918:15: note: in expansion of macro ‘next_arg’
- if ((lines = next_arg(args, &args)))
- ^
- /home/tabl/BitchX/include/modval.h:341:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_current_channel_by_refnum(x) ((char *) (global[GET_CURRENT_CHANNEL_
- ^
- commands2.c:1921:13: note: in expansion of macro ‘get_current_channel_by_refnum’
- channel = get_current_channel_by_refnum(0);
- ^
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1927:8: note: in expansion of macro ‘next_arg’
- t = next_arg(args, &args);
- ^
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:1934:11: note: in expansion of macro ‘next_arg’
- t = next_arg(args, &args);
- ^
- /home/tabl/BitchX/include/modval.h:341:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_current_channel_by_refnum(x) ((char *) (global[GET_CURRENT_CHANNEL_
- ^
- commands2.c:1947:30: note: in expansion of macro ‘get_current_channel_by_refnum’
- if (!channel && !(channel = get_current_channel_by_refnum(0)))
- ^
- /home/tabl/BitchX/include/modval.h:322:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define get_window_by_refnum(x) ((Window *) (global[GET_WINDOW_BY_REFNUM]((unsi
- ^
- commands2.c:1949:8: note: in expansion of macro ‘get_window_by_refnum’
- win = get_window_by_refnum(winref);
- ^
- /home/tabl/BitchX/include/modval.h:455:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define fget_string_var(x) ((char *)(global[FGET_STRING_VAR]((int)x)))
- ^
- /home/tabl/BitchX/include/modval.h:261:86: note: in definition of macro ‘send_text’
- (x, y, z, a, b) ((void) (global[SEND_TEXT]((char *)x, (const char *)y, (char *)
- ^
- commands2.c:2020:46: note: in expansion of macro ‘fget_string_var’
- send_text(channel, convert_output_format(fget_string_var(FORMAT_PASTE_FSET)
- ^
- commands2.c: In function ‘handle_reconnect’:
- commands2.c:2457:56: warning: pointer targets in passing argument 3 of ‘getpeername’ differ in signedness [-Wpointer-sign]
- if (n < 0 || getpeername(n, (struct sockaddr *)&addr, &len) < 0)
- ^
- In file included from /home/tabl/BitchX/include/irc.h:62:0,
- from commands2.c:8:
- /usr/include/x86_64-linux-gnu/sys/socket.h:141:12: note: expected ‘socklen_t * restrict {aka unsigned int * restrict}’ but argument is of type ‘int *’
- extern int getpeername (int __fd, __SOCKADDR_ARG __addr,
- ^
- In file included from commands2.c:83:0:
- commands2.c: In function ‘do_detach’:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- /home/tabl/BitchX/include/modval.h:191:56: note: in definition of macro ‘m_strdup’
- #define m_strdup(x) ((char *)(global[M_STRDUP]((char *)x, MODULENAME, __FILE__,
- ^
- commands2.c:2609:23: note: in expansion of macro ‘next_arg’
- old_pass = m_strdup(next_arg(args, &args));
- ^
- /home/tabl/BitchX/include/modval.h:191:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define m_strdup(x) ((char *)(global[M_STRDUP]((char *)x, MODULENAME, __FILE__,
- ^
- commands2.c:2609:14: note: in expansion of macro ‘m_strdup’
- old_pass = m_strdup(next_arg(args, &args));
- ^
- commands2.c: In function ‘detachcmd’:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:2665:12: note: in expansion of macro ‘next_arg’
- if ((p = next_arg(args, &args)))
- ^
- In file included from commands2.c:83:0:
- /home/tabl/BitchX/include/modval.h:188:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define cryptit(x) ((char *) (global[CRYPTIT]((const char *)x)))
- ^
- /home/tabl/BitchX/include/modval.h:114:81: note: in definition of macro ‘malloc_strcpy’
- oc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *)y, MODULENA
- ^
- commands2.c:2666:29: note: in expansion of macro ‘cryptit’
- malloc_strcpy(&old_pass, cryptit(p));
- ^
- /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:2666:4: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&old_pass, cryptit(p));
- ^
- /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
- #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
- ^
- commands2.c:2666:4: note: in expansion of macro ‘malloc_strcpy’
- malloc_strcpy(&old_pass, cryptit(p));
- ^
- In file included from commands2.c:83:0:
- commands2.c: In function ‘spam’:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:2710:6: note: in expansion of macro ‘next_arg’
- c = next_arg(args, &args);
- ^
- /home/tabl/BitchX/include/modval.h:411:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define make_channel(x) ((char *) (global[MAKE_CHANNEL]((char *)x)))
- ^
- commands2.c:2711:6: note: in expansion of macro ‘make_channel’
- c = make_channel(c);
- ^
- /home/tabl/BitchX/include/modval.h:433:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define lookup_channel(x, y, z) ((ChannelList *) (global[LOOKUP_CHANNEL]((char
- ^
- commands2.c:2717:14: note: in expansion of macro ‘lookup_channel’
- if ((chan = lookup_channel(c, from_server, 0)))
- ^
- /home/tabl/BitchX/include/modval.h:438:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_nicklist(x, y) ((NickList *) (global[NEXT_NICKLIST] ((ChannelList
- ^
- commands2.c:2720:12: note: in expansion of macro ‘next_nicklist’
- for (u = next_nicklist(chan, NULL); u; u = next_nicklist(chan, u))
- ^
- /home/tabl/BitchX/include/modval.h:438:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_nicklist(x, y) ((NickList *) (global[NEXT_NICKLIST] ((ChannelList
- ^
- commands2.c:2720:46: note: in expansion of macro ‘next_nicklist’
- for (u = next_nicklist(chan, NULL); u; u = next_nicklist(chan, u))
- ^
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:2726:16: note: in expansion of macro ‘next_arg’
- while ((t = next_arg(tmpc, &tmpc)))
- ^
- /home/tabl/BitchX/include/modval.h:411:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define make_channel(x) ((char *) (global[MAKE_CHANNEL]((char *)x)))
- ^
- commands2.c:2728:15: note: in expansion of macro ‘make_channel’
- if (!(t = make_channel(t)))
- ^
- /home/tabl/BitchX/include/modval.h:433:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define lookup_channel(x, y, z) ((ChannelList *) (global[LOOKUP_CHANNEL]((char
- ^
- commands2.c:2730:13: note: in expansion of macro ‘lookup_channel’
- chan1 = lookup_channel(t, from_server, 0);
- ^
- /home/tabl/BitchX/include/modval.h:436:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define find_nicklist_in_channellist(x, y, z) ((NickList *) (global[FIND_NICKLI
- ^
- commands2.c:2733:16: note: in expansion of macro ‘find_nicklist_in_channellist’
- if (!(u1 = find_nicklist_in_channellist(u->nick, chan1, 0)))
- ^
- commands2.c: In function ‘send_kline’:
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:2751:20: note: in expansion of macro ‘next_arg’
- while ((target = next_arg(args, &args)))
- ^
- /home/tabl/BitchX/include/modval.h:200:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_in_comma_list(x, y) ((char *)(global[NEXT_IN_COMMA_LIST]((char *)x
- ^
- commands2.c:2753:16: note: in expansion of macro ‘next_in_comma_list’
- while ((t = next_in_comma_list(target, &target)))
- ^
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:2761:8: note: in expansion of macro ‘next_arg’
- dur = next_arg(args, &args);
- ^
- /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
- ^
- commands2.c:2774:13: note: in expansion of macro ‘next_arg’
- target = next_arg(args, &args);
- ^
- /home/tabl/BitchX/include/modval.h:200:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- #define next_in_comma_list(x, y) ((char *)(global[NEXT_IN_COMMA_LIST]((char *)x
- ^
- commands2.c:2787:14: note: in expansion of macro ‘next_in_comma_list’
- while ((t = next_in_comma_list(target, &target)))
- ^
- commands2.c: In function ‘handle_reconnect’:
- commands2.c:2506:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
- write(n, &parm, sizeof(struct param));
- ^
- commands2.c: In function ‘create_ipc_socket’:
- commands2.c:2581:4: warning: ignoring return value of ‘chown’, declared with attribute warn_unused_result [-Wunused-result]
- chown(buf, getuid(), getgid());
- ^
- commands2.c:2583:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
- write(u, connect_cookie, strlen(connect_cookie));
- ^
- commands2.c:2584:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
- write(u, "\n", 1);
- ^
- commands2.c: In function ‘close_detach_fd’:
- commands2.c:2634:2: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
- freopen("/dev/null", "r", stdin);
- ^
- commands2.c:2635:2: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
- freopen("/dev/null", "w", stdout);
- ^
- commands2.c:2636:2: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
- freopen("/dev/null", "w", stderr);
- ^
- In file included from /usr/include/fcntl.h:289:0,
- from /usr/include/x86_64-linux-gnu/sys/fcntl.h:1,
- from /home/tabl/BitchX/include/irc.h:81,
- from commands2.c:8:
- In function ‘open’,
- inlined from ‘create_ipc_socket’ at commands2.c:2578:6:
- /usr/include/x86_64-linux-gnu/bits/fcntl2.h:50:4: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT or O_TMPFILE in second argument needs 3 arguments
- __open_missing_mode ();
- ^
- Makefile:185: recipe for target 'commands2.o' failed
- make[1]: *** [commands2.o] Error 1
- make[1]: Leaving directory '/home/tabl/BitchX/source'
- Makefile:201: recipe for target 'BitchX' failed
- make: *** [BitchX] Error 2
- tabl@tabl-15U340-L-BK35P1:~/BitchX$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement