Advertisement
Guest User

make Bitchx

a guest
Oct 18th, 2016
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 237.54 KB | None | 0 0
  1. tabl@tabl-15U340-L-BK35P1:~$ cd /home/tabl/BitchX/
  2. tabl@tabl-15U340-L-BK35P1:~/BitchX$ ./configure
  3. Welcome to the BitchX-1.1-final configuration
  4.  
  5. checking for gcc... gcc
  6. checking for C compiler default output... a.out
  7. checking whether the C compiler works... yes
  8. checking whether we are cross compiling... no
  9. checking for suffix of executables...
  10. checking for suffix of object files... o
  11. checking whether we are using the GNU C compiler... yes
  12. checking whether gcc accepts -g... yes
  13. checking for a BSD-compatible install... /usr/bin/install -c
  14. checking whether build environment is sane... yes
  15. checking whether ln -s works... yes
  16. checking for gmake... no
  17. checking for make... make
  18. checking whether make sets ${MAKE}... yes
  19. checking how to run the C preprocessor... gcc -E
  20. checking whether gcc needs -traditional... no
  21. checking for library containing strerror... none required
  22. checking for AIX... no
  23. checking for gawk... no
  24. checking for mawk... mawk
  25. checking for getpwnam in -lsun... no
  26. checking for inet_addr in -ldgc... no
  27. checking for res_mkquery in -lresolv... no
  28. checking for res_mkquery in -lc... no
  29. checking for crypt in -lcrypt... yes
  30. checking for pow in -lm... yes
  31. checking for dirent.h that defines DIR... yes
  32. checking for library containing opendir... none required
  33. checking for ANSI C header files... yes
  34. checking for sys/types.h... yes
  35. checking for sys/stat.h... yes
  36. checking for stdlib.h... yes
  37. checking for string.h... yes
  38. checking for memory.h... yes
  39. checking for strings.h... yes
  40. checking for inttypes.h... yes
  41. checking for stdint.h... yes
  42. checking for unistd.h... yes
  43. checking arpa/inet.h usability... yes
  44. checking arpa/inet.h presence... yes
  45. checking for arpa/inet.h... yes
  46. checking net/if.h usability... yes
  47. checking net/if.h presence... yes
  48. checking for net/if.h... yes
  49. checking sys/time.h usability... yes
  50. checking sys/time.h presence... yes
  51. checking for sys/time.h... yes
  52. checking sys/fcntl.h usability... yes
  53. checking sys/fcntl.h presence... yes
  54. checking for sys/fcntl.h... yes
  55. checking fcntl.h usability... yes
  56. checking fcntl.h presence... yes
  57. checking for fcntl.h... yes
  58. checking sys/file.h usability... yes
  59. checking sys/file.h presence... yes
  60. checking for sys/file.h... yes
  61. checking sys/syslimits.h usability... no
  62. checking sys/syslimits.h presence... no
  63. checking for sys/syslimits.h... no
  64. checking netinet/in_systm.h usability... yes
  65. checking netinet/in_systm.h presence... yes
  66. checking for netinet/in_systm.h... yes
  67. checking sys/in_systm.h usability... no
  68. checking sys/in_systm.h presence... no
  69. checking for sys/in_systm.h... no
  70. checking netdb.h usability... yes
  71. checking netdb.h presence... yes
  72. checking for netdb.h... yes
  73. checking sys/un.h usability... yes
  74. checking sys/un.h presence... yes
  75. checking for sys/un.h... yes
  76. checking sys/filio.h usability... no
  77. checking sys/filio.h presence... no
  78. checking for sys/filio.h... no
  79. checking regex.h usability... yes
  80. checking regex.h presence... yes
  81. checking for regex.h... yes
  82. checking resolv.h usability... yes
  83. checking resolv.h presence... yes
  84. checking for resolv.h... yes
  85. checking arpa/nameser.h usability... yes
  86. checking arpa/nameser.h presence... yes
  87. checking for arpa/nameser.h... yes
  88. checking dirent.h usability... yes
  89. checking dirent.h presence... yes
  90. checking for dirent.h... yes
  91. checking sys/ndir.h usability... no
  92. checking sys/ndir.h presence... no
  93. checking for sys/ndir.h... no
  94. checking sys/dir.h usability... yes
  95. checking sys/dir.h presence... yes
  96. checking for sys/dir.h... yes
  97. checking ndir.h usability... no
  98. checking ndir.h presence... no
  99. checking for ndir.h... no
  100. checking for stpcpy in string.h... yes
  101. checking for getpgid in unistd.h... no
  102. checking for killpg in signal.h... yes
  103. checking for getpass in unistd.h... yes
  104. checking for errno in errno.h... no
  105. checking for struct linger in sys/socket.h... yes
  106. checking for sun_len in sys/un.h... no
  107. checking for bcopy in string.h... yes
  108. checking for gcc option to accept ANSI C... none needed
  109. checking for an ANSI C-conforming const... yes
  110. checking for uid_t in sys/types.h... yes
  111. checking for inline... inline
  112. checking for mode_t... yes
  113. checking for off_t... yes
  114. checking for pid_t... yes
  115. checking for size_t... yes
  116. checking return type of signal handlers... void
  117. checking for sys_siglist declaration in signal.h or unistd.h... yes
  118. checking whether time.h and sys/time.h may both be included... yes
  119. checking for unsigned int... yes
  120. checking size of unsigned int... 4
  121. checking for working alloca.h... yes
  122. checking for alloca... yes
  123. checking whether getpgrp requires zero arguments... yes
  124. checking whether setpgrp takes no argument... yes
  125. checking for strftime... yes
  126. checking for socket... yes
  127. checking for gethostname... yes
  128. checking for gettimeofday... yes
  129. checking for strtoul... yes
  130. checking for strlcpy... no
  131. checking for strlcat... no
  132. checking for stpcpy... yes
  133. checking for vsnprintf... yes
  134. checking for snprintf... yes
  135. checking for setsid... yes
  136. checking for strerror... yes
  137. checking for uname... yes
  138. checking for getrusage... yes
  139. checking for sysconf... yes
  140. checking for getpgid... yes
  141. checking for killpg... yes
  142. checking for getlogin... yes
  143. checking for realpath... yes
  144. checking for fchdir... yes
  145. checking for getpass... yes
  146. checking for fpathconf... yes
  147. checking for getpwent... yes
  148. checking for setvbuf... yes
  149. checking for select... yes
  150. checking for mkstemp... yes
  151. checking for memmove... yes
  152. checking for scandir... yes
  153. checking for gethostbyname... yes
  154. checking for connect... yes
  155. checking for inet_aton... yes
  156. checking whether setvbuf arguments are reversed... no
  157. checking for non-blocking type... posix
  158. checking for a list of signal names... yes
  159. checking whether to enable GTK support... no
  160. checking whether to enable Win32 GUI support... no
  161. checking whether to enable OS/2 PM support... no
  162. checking whether to enable sound support... no
  163. checking whether to enable SSL support... no
  164. checking whether to use use tgetent or setupterm... setupterm
  165. checking for setupterm in -lncurses... yes
  166. checking for tparm in ncurses.h... yes
  167. checking for tparm in -lncurses... yes
  168. checking ncurses.h usability... yes
  169. checking ncurses.h presence... yes
  170. checking for ncurses.h... yes
  171. checking ncurses/termcap.h usability... no
  172. checking ncurses/termcap.h presence... no
  173. checking for ncurses/termcap.h... no
  174. checking termcap.h usability... yes
  175. checking termcap.h presence... yes
  176. checking for termcap.h... yes
  177. checking for tputs in ncurses/termcap.h... no
  178. checking for tputs in termcap.h... (cached) no
  179. checking for tputs in -lncurses... yes
  180. checking whether to enable Tcl support... no
  181. checking for unix mail directory... /var/spool/mail
  182. checking for default server list... none
  183. checking whether to enable IPv6 support... no
  184. checking whether to enable SOCKS support... no
  185. checking whether to enable CD-ROM support... no
  186. checking whether to enable dmalloc debugging support... no
  187. checking whether to enable plugin support... not building with plugin support - you will not be able to use plugins
  188. configure: creating ./config.status
  189. config.status: creating Makefile
  190. config.status: creating BitchX.spec
  191. config.status: creating gtkBitchX.spec
  192. config.status: creating bx-conf/Makefile
  193. config.status: creating doc/BitchX.bat
  194. config.status: creating doc/Makefile
  195. config.status: creating dll/Makefile
  196. config.status: creating dll/abot/Makefile
  197. config.status: creating dll/acro/Makefile
  198. config.status: creating dll/aim/Makefile
  199. config.status: creating dll/aim/toc/Makefile
  200. config.status: creating dll/amp/Makefile
  201. config.status: creating dll/arcfour/Makefile
  202. config.status: creating dll/autocycle/Makefile
  203. config.status: creating dll/aim/Makefile
  204. config.status: creating dll/blowfish/Makefile
  205. config.status: creating dll/cavlink/Makefile
  206. config.status: creating dll/cdrom/Makefile
  207. config.status: creating dll/encrypt/Makefile
  208. config.status: creating dll/europa/Makefile
  209. config.status: creating dll/fserv/Makefile
  210. config.status: creating dll/hint/Makefile
  211. config.status: creating dll/identd/Makefile
  212. config.status: creating dll/nap/Makefile
  213. config.status: creating dll/nicklist/Makefile
  214. config.status: creating dll/pkga/Makefile
  215. config.status: creating dll/possum/Makefile
  216. config.status: creating dll/qbx/Makefile
  217. config.status: creating dll/qmail/Makefile
  218. config.status: creating dll/scan/Makefile
  219. config.status: creating dll/wavplay/Makefile
  220. config.status: creating dll/xmms/Makefile
  221. config.status: creating source/Makefile
  222. config.status: creating include/defs.h
  223. config.status: include/defs.h is unchanged
  224. config.status: executing default commands
  225.  
  226. BitchX (c) 1996-2002 Colten Edwards
  227. ----------------------------------------------------------
  228.  
  229. The configuration script has finished. You should look through
  230. "include/config.h" and make any changes you would like to make.
  231.  
  232. Now type "make" to compile BitchX.
  233. tabl@tabl-15U340-L-BK35P1:~/BitchX$
  234.  
  235. tabl@tabl-15U340-L-BK35P1:~/BitchX$ make
  236. cd source \
  237. && 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
  238. make[1]: Entering directory '/home/tabl/BitchX/source'
  239. gcc -I. -I/home/tabl/BitchX/include -I../include -I. -I./include -g -O2 -Wall -c commands2.c
  240. In file included from commands2.c:83:0:
  241. commands2.c: In function ‘nwhois’:
  242. /home/tabl/BitchX/include/modval.h:549:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  243. #define get_server_channels(x) ((ChannelList *) (global[GET_SERVER_CHANNELS]((i
  244. ^
  245. commands2.c:118:14: note: in expansion of macro ‘get_server_channels’
  246. if (!(tmp = get_server_channels(server)))
  247. ^
  248. /home/tabl/BitchX/include/modval.h:191:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  249. #define m_strdup(x) ((char *)(global[M_STRDUP]((char *)x, MODULENAME, __FILE__,
  250. ^
  251. commands2.c:125:13: note: in expansion of macro ‘m_strdup’
  252. t = arg = m_strdup(args);
  253. ^
  254. /home/tabl/BitchX/include/modval.h:341:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  255. #define get_current_channel_by_refnum(x) ((char *) (global[GET_CURRENT_CHANNEL_
  256. ^
  257. commands2.c:129:10: note: in expansion of macro ‘get_current_channel_by_refnum’
  258. nick = get_current_channel_by_refnum(0);
  259. ^
  260. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  261. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  262. ^
  263. commands2.c:132:24: note: in expansion of macro ‘next_arg’
  264. while (all || (nick = next_arg(arg, &arg)))
  265. ^
  266. /home/tabl/BitchX/include/modval.h:438:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  267. #define next_nicklist(x, y) ((NickList *) (global[NEXT_NICKLIST] ((ChannelList
  268. ^
  269. commands2.c:141:16: note: in expansion of macro ‘next_nicklist’
  270. for (user = next_nicklist(tmp, NULL); user; user = next_nicklist(tmp, user))
  271. ^
  272. /home/tabl/BitchX/include/modval.h:438:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  273. #define next_nicklist(x, y) ((NickList *) (global[NEXT_NICKLIST] ((ChannelList
  274. ^
  275. commands2.c:141:55: note: in expansion of macro ‘next_nicklist’
  276. for (user = next_nicklist(tmp, NULL); user; user = next_nicklist(tmp, user))
  277. ^
  278. In file included from commands2.c:83:0:
  279. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  280. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  281. ^
  282. commands2.c:183:2: note: in expansion of macro ‘new_free’
  283. new_free(&t);
  284. ^
  285. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  286. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  287. ^
  288. commands2.c:183:2: note: in expansion of macro ‘new_free’
  289. new_free(&t);
  290. ^
  291. In file included from commands2.c:83:0:
  292. commands2.c: In function ‘add_ban_word’:
  293. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  294. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  295. ^
  296. commands2.c:204:10: note: in expansion of macro ‘next_arg’
  297. chan = next_arg(args, &args);
  298. ^
  299. /home/tabl/BitchX/include/modval.h:226:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  300. #define find_in_list(x, y, z) ((List *) (global[FIND_IN_LIST]((List **)x, (char
  301. ^
  302. commands2.c:209:26: note: in expansion of macro ‘find_in_list’
  303. new = (WordKickList *)find_in_list((List **)&ban_words, args, 0);
  304. ^
  305. In file included from commands2.c:83:0:
  306. /home/tabl/BitchX/include/modval.h:111:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  307. #define new_malloc(x) ((void *)(global[NEW_MALLOC]((x),MODULENAME, __FILE__,__L
  308. ^
  309. commands2.c:212:28: note: in expansion of macro ‘new_malloc’
  310. new = (WordKickList *) new_malloc(sizeof(WordKickList));
  311. ^
  312. /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  313. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  314. ^
  315. commands2.c:213:5: note: in expansion of macro ‘malloc_strcpy’
  316. malloc_strcpy(&new->channel, chan);
  317. ^
  318. /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
  319. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  320. ^
  321. commands2.c:213:5: note: in expansion of macro ‘malloc_strcpy’
  322. malloc_strcpy(&new->channel, chan);
  323. ^
  324. /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  325. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  326. ^
  327. commands2.c:214:5: note: in expansion of macro ‘malloc_strcpy’
  328. malloc_strcpy(&new->string, args);
  329. ^
  330. /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
  331. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  332. ^
  333. commands2.c:214:5: note: in expansion of macro ‘malloc_strcpy’
  334. malloc_strcpy(&new->string, args);
  335. ^
  336. /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  337. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  338. ^
  339. commands2.c:222:4: note: in expansion of macro ‘malloc_strcpy’
  340. malloc_strcpy(&word, args);
  341. ^
  342. /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
  343. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  344. ^
  345. commands2.c:222:4: note: in expansion of macro ‘malloc_strcpy’
  346. malloc_strcpy(&word, args);
  347. ^
  348. In file included from commands2.c:83:0:
  349. /home/tabl/BitchX/include/modval.h:230:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  350. #define removewild_from_list(x, y) ((List *) (global[REMOVEWILD_FROM_LIST]((Lis
  351. ^
  352. commands2.c:223:35: note: in expansion of macro ‘removewild_from_list’
  353. while ((new = (WordKickList *) removewild_from_list((List **)&ban_words, wor
  354. ^
  355. In file included from commands2.c:83:0:
  356. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  357. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  358. ^
  359. commands2.c:226:5: note: in expansion of macro ‘new_free’
  360. new_free(&new->channel);
  361. ^
  362. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  363. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  364. ^
  365. commands2.c:226:5: note: in expansion of macro ‘new_free’
  366. new_free(&new->channel);
  367. ^
  368. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  369. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  370. ^
  371. commands2.c:227:5: note: in expansion of macro ‘new_free’
  372. new_free(&new->string);
  373. ^
  374. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  375. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  376. ^
  377. commands2.c:227:5: note: in expansion of macro ‘new_free’
  378. new_free(&new->string);
  379. ^
  380. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  381. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  382. ^
  383. commands2.c:228:5: note: in expansion of macro ‘new_free’
  384. new_free((char **)&new);
  385. ^
  386. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  387. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  388. ^
  389. commands2.c:228:5: note: in expansion of macro ‘new_free’
  390. new_free((char **)&new);
  391. ^
  392. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  393. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  394. ^
  395. commands2.c:233:4: note: in expansion of macro ‘new_free’
  396. new_free(&word);
  397. ^
  398. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  399. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  400. ^
  401. commands2.c:233:4: note: in expansion of macro ‘new_free’
  402. new_free(&word);
  403. ^
  404. In file included from commands2.c:83:0:
  405. commands2.c: In function ‘check_mode_lock’:
  406. /home/tabl/BitchX/include/modval.h:433:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  407. #define lookup_channel(x, y, z) ((ChannelList *) (global[LOOKUP_CHANNEL]((char
  408. ^
  409. commands2.c:310:14: note: in expansion of macro ‘lookup_channel’
  410. if ((chan = lookup_channel(channel, server, 0)) && chan->modelock_key)
  411. ^
  412. In file included from commands2.c:83:0:
  413. /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  414. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  415. ^
  416. commands2.c:321:3: note: in expansion of macro ‘malloc_strcpy’
  417. malloc_strcpy(&modelock, chan->modelock_key);
  418. ^
  419. /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
  420. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  421. ^
  422. commands2.c:321:3: note: in expansion of macro ‘malloc_strcpy’
  423. malloc_strcpy(&modelock, chan->modelock_key);
  424. ^
  425. /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  426. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  427. ^
  428. commands2.c:322:3: note: in expansion of macro ‘malloc_strcpy’
  429. malloc_strcpy(&new_mode_list, mode_list);
  430. ^
  431. /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
  432. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  433. ^
  434. commands2.c:322:3: note: in expansion of macro ‘malloc_strcpy’
  435. malloc_strcpy(&new_mode_list, mode_list);
  436. ^
  437. In file included from commands2.c:83:0:
  438. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  439. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  440. ^
  441. commands2.c:325:19: note: in expansion of macro ‘next_arg’
  442. new_mode_list = next_arg(new_mode_list, &args1);
  443. ^
  444. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  445. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  446. ^
  447. commands2.c:326:14: note: in expansion of macro ‘next_arg’
  448. modelock = next_arg(modelock, &args);
  449. ^
  450. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  451. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  452. ^
  453. commands2.c:345:14: note: in expansion of macro ‘next_arg’
  454. key = next_arg(args1, &args1);
  455. ^
  456. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  457. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  458. ^
  459. commands2.c:351:14: note: in expansion of macro ‘next_arg’
  460. key = next_arg(args, &args);
  461. ^
  462. In file included from commands2.c:83:0:
  463. /home/tabl/BitchX/include/modval.h:167:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  464. #define ltoa(x) ((char *) (global[LTOA]((long)x)))
  465. ^
  466. commands2.c:380:24: note: in expansion of macro ‘ltoa’
  467. strcat(buffer, ltoa(limit));
  468. ^
  469. commands2.c:409:26: warning: the address of ‘buffer’ will always evaluate as ‘true’ [-Waddress]
  470. if (chan && chan->chop && buffer)
  471. ^
  472. In file included from commands2.c:83:0:
  473. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  474. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  475. ^
  476. commands2.c:411:3: note: in expansion of macro ‘new_free’
  477. new_free(&save);
  478. ^
  479. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  480. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  481. ^
  482. commands2.c:411:3: note: in expansion of macro ‘new_free’
  483. new_free(&save);
  484. ^
  485. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  486. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  487. ^
  488. commands2.c:412:3: note: in expansion of macro ‘new_free’
  489. new_free(&save1);
  490. ^
  491. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  492. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  493. ^
  494. commands2.c:412:3: note: in expansion of macro ‘new_free’
  495. new_free(&save1);
  496. ^
  497. In file included from commands2.c:83:0:
  498. commands2.c: In function ‘mode_lock’:
  499. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  500. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  501. ^
  502. commands2.c:434:7: note: in expansion of macro ‘next_arg’
  503. t = next_arg(args, &args);
  504. ^
  505. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  506. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  507. ^
  508. commands2.c:438:8: note: in expansion of macro ‘next_arg’
  509. t = next_arg(args, &args);
  510. ^
  511. /home/tabl/BitchX/include/modval.h:341:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  512. #define get_current_channel_by_refnum(x) ((char *) (global[GET_CURRENT_CHANNEL_
  513. ^
  514. commands2.c:440:14: note: in expansion of macro ‘get_current_channel_by_refnum’
  515. channel = get_current_channel_by_refnum(0);
  516. ^
  517. /home/tabl/BitchX/include/modval.h:433:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  518. #define lookup_channel(x, y, z) ((ChannelList *) (global[LOOKUP_CHANNEL]((char
  519. ^
  520. commands2.c:446:15: note: in expansion of macro ‘lookup_channel’
  521. if ((chan = lookup_channel(channel, from_server, 0)))
  522. ^
  523. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  524. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  525. ^
  526. commands2.c:497:14: note: in expansion of macro ‘next_arg’
  527. key = next_arg(args, &args);
  528. ^
  529. In file included from commands2.c:83:0:
  530. /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  531. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  532. ^
  533. commands2.c:524:4: note: in expansion of macro ‘malloc_strcpy’
  534. malloc_strcpy(&buffer, valid_mode);
  535. ^
  536. /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
  537. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  538. ^
  539. commands2.c:524:4: note: in expansion of macro ‘malloc_strcpy’
  540. malloc_strcpy(&buffer, valid_mode);
  541. ^
  542. /home/tabl/BitchX/include/modval.h:115:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  543. #define malloc_strcat(x, y) ((char *)(global[MALLOC_STRCAT]((char **)x, (char *
  544. ^
  545. commands2.c:527:5: note: in expansion of macro ‘malloc_strcat’
  546. malloc_strcat(&buffer, space);
  547. ^
  548. /home/tabl/BitchX/include/modval.h:115:30: warning: value computed is not used [-Wunused-value]
  549. #define malloc_strcat(x, y) ((char *)(global[MALLOC_STRCAT]((char **)x, (char *
  550. ^
  551. commands2.c:527:5: note: in expansion of macro ‘malloc_strcat’
  552. malloc_strcat(&buffer, space);
  553. ^
  554. /home/tabl/BitchX/include/modval.h:115:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  555. #define malloc_strcat(x, y) ((char *)(global[MALLOC_STRCAT]((char **)x, (char *
  556. ^
  557. commands2.c:528:5: note: in expansion of macro ‘malloc_strcat’
  558. malloc_strcat(&buffer, key);
  559. ^
  560. /home/tabl/BitchX/include/modval.h:115:30: warning: value computed is not used [-Wunused-value]
  561. #define malloc_strcat(x, y) ((char *)(global[MALLOC_STRCAT]((char **)x, (char *
  562. ^
  563. commands2.c:528:5: note: in expansion of macro ‘malloc_strcat’
  564. malloc_strcat(&buffer, key);
  565. ^
  566. /home/tabl/BitchX/include/modval.h:115:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  567. #define malloc_strcat(x, y) ((char *)(global[MALLOC_STRCAT]((char **)x, (char *
  568. ^
  569. commands2.c:532:5: note: in expansion of macro ‘malloc_strcat’
  570. malloc_strcat(&buffer, space);
  571. ^
  572. /home/tabl/BitchX/include/modval.h:115:30: warning: value computed is not used [-Wunused-value]
  573. #define malloc_strcat(x, y) ((char *)(global[MALLOC_STRCAT]((char **)x, (char *
  574. ^
  575. commands2.c:532:5: note: in expansion of macro ‘malloc_strcat’
  576. malloc_strcat(&buffer, space);
  577. ^
  578. /home/tabl/BitchX/include/modval.h:167:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  579. #define ltoa(x) ((char *) (global[LTOA]((long)x)))
  580. ^
  581. /home/tabl/BitchX/include/modval.h:115:81: note: in definition of macro ‘malloc_strcat’
  582. oc_strcat(x, y) ((char *)(global[MALLOC_STRCAT]((char **)x, (char *)y, MODULENA
  583. ^
  584. commands2.c:533:28: note: in expansion of macro ‘ltoa’
  585. malloc_strcat(&buffer, ltoa(limit));
  586. ^
  587. /home/tabl/BitchX/include/modval.h:115:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  588. #define malloc_strcat(x, y) ((char *)(global[MALLOC_STRCAT]((char **)x, (char *
  589. ^
  590. commands2.c:533:5: note: in expansion of macro ‘malloc_strcat’
  591. malloc_strcat(&buffer, ltoa(limit));
  592. ^
  593. /home/tabl/BitchX/include/modval.h:115:30: warning: value computed is not used [-Wunused-value]
  594. #define malloc_strcat(x, y) ((char *)(global[MALLOC_STRCAT]((char **)x, (char *
  595. ^
  596. commands2.c:533:5: note: in expansion of macro ‘malloc_strcat’
  597. malloc_strcat(&buffer, ltoa(limit));
  598. ^
  599. /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  600. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  601. ^
  602. commands2.c:537:5: note: in expansion of macro ‘malloc_strcpy’
  603. malloc_strcpy(&chan->modelock_key, buffer);
  604. ^
  605. /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
  606. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  607. ^
  608. commands2.c:537:5: note: in expansion of macro ‘malloc_strcpy’
  609. malloc_strcpy(&chan->modelock_key, buffer);
  610. ^
  611. In file included from commands2.c:83:0:
  612. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  613. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  614. ^
  615. commands2.c:549:7: note: in expansion of macro ‘next_arg’
  616. t = next_arg(args, &args);
  617. ^
  618. /home/tabl/BitchX/include/modval.h:433:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  619. #define lookup_channel(x, y, z) ((ChannelList *) (global[LOOKUP_CHANNEL]((char
  620. ^
  621. commands2.c:552:16: note: in expansion of macro ‘lookup_channel’
  622. if ((chan = lookup_channel(t, from_server, 0)))
  623. ^
  624. In file included from commands2.c:83:0:
  625. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  626. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  627. ^
  628. commands2.c:554:5: note: in expansion of macro ‘new_free’
  629. new_free(&chan->modelock_key);
  630. ^
  631. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  632. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  633. ^
  634. commands2.c:554:5: note: in expansion of macro ‘new_free’
  635. new_free(&chan->modelock_key);
  636. ^
  637. In file included from commands2.c:83:0:
  638. /home/tabl/BitchX/include/modval.h:549:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  639. #define get_server_channels(x) ((ChannelList *) (global[GET_SERVER_CHANNELS]((i
  640. ^
  641. commands2.c:562:16: note: in expansion of macro ‘get_server_channels’
  642. for (chan = get_server_channels(from_server); chan; chan = chan->next)
  643. ^
  644. In file included from commands2.c:83:0:
  645. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  646. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  647. ^
  648. commands2.c:564:5: note: in expansion of macro ‘new_free’
  649. new_free(&chan->modelock_key);
  650. ^
  651. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  652. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  653. ^
  654. commands2.c:564:5: note: in expansion of macro ‘new_free’
  655. new_free(&chan->modelock_key);
  656. ^
  657. In file included from commands2.c:83:0:
  658. /home/tabl/BitchX/include/modval.h:549:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  659. #define get_server_channels(x) ((ChannelList *) (global[GET_SERVER_CHANNELS]((i
  660. ^
  661. commands2.c:574:16: note: in expansion of macro ‘get_server_channels’
  662. for (chan = get_server_channels(from_server); chan; chan = chan->next)
  663. ^
  664. commands2.c: In function ‘randomnick’:
  665. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  666. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  667. ^
  668. commands2.c:587:14: note: in expansion of macro ‘next_arg’
  669. while ((p = next_arg(args, &args)))
  670. ^
  671. /home/tabl/BitchX/include/modval.h:270:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  672. #define random_str(x, y) ((char *) (global[RANDOM_STR]((int)x, (int)y)))
  673. ^
  674. commands2.c:601:59: note: in expansion of macro ‘random_str’
  675. send_to_server("NICK %s%s", prefix?prefix:empty_string, random_str(3,9-len));
  676. ^
  677. commands2.c: In function ‘topic_lock’:
  678. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  679. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  680. ^
  681. commands2.c:614:6: note: in expansion of macro ‘next_arg’
  682. t = next_arg(args, &args);
  683. ^
  684. /home/tabl/BitchX/include/modval.h:411:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  685. #define make_channel(x) ((char *) (global[MAKE_CHANNEL]((char *)x)))
  686. ^
  687. commands2.c:617:13: note: in expansion of macro ‘make_channel’
  688. channel = make_channel(t);
  689. ^
  690. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  691. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  692. ^
  693. commands2.c:620:7: note: in expansion of macro ‘next_arg’
  694. t = next_arg(args, &args);
  695. ^
  696. /home/tabl/BitchX/include/modval.h:341:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  697. #define get_current_channel_by_refnum(x) ((char *) (global[GET_CURRENT_CHANNEL_
  698. ^
  699. commands2.c:622:13: note: in expansion of macro ‘get_current_channel_by_refnum’
  700. channel = get_current_channel_by_refnum(0);
  701. ^
  702. /home/tabl/BitchX/include/modval.h:433:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  703. #define lookup_channel(x, y, z) ((ChannelList *) (global[LOOKUP_CHANNEL]((char
  704. ^
  705. commands2.c:624:14: note: in expansion of macro ‘lookup_channel’
  706. if ((chan = lookup_channel(channel, from_server, 0)))
  707. ^
  708. In file included from commands2.c:83:0:
  709. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  710. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  711. ^
  712. commands2.c:632:55: note: in expansion of macro ‘on_off’
  713. bitchsay("Topic lock for [%s] - %s", chan->channel, on_off(chan->topic_lock))
  714. ^
  715. In file included from commands2.c:83:0:
  716. commands2.c: In function ‘sping’:
  717. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  718. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  719. ^
  720. commands2.c:660:19: note: in expansion of macro ‘next_arg’
  721. while ((sname = next_arg(args, &args)))
  722. ^
  723. /home/tabl/BitchX/include/modval.h:533:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  724. #define get_server_itsname(x) ((char *) (global[GET_SERVER_ITSNAME]((int)x)))
  725. ^
  726. commands2.c:663:19: note: in expansion of macro ‘get_server_itsname’
  727. if (!(sname = get_server_itsname(from_server)))
  728. ^
  729. /home/tabl/BitchX/include/modval.h:532:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  730. #define get_server_name(x) ((char *) (global[GET_SERVER_NAME]((int)x)))
  731. ^
  732. commands2.c:664:14: note: in expansion of macro ‘get_server_name’
  733. sname = get_server_name(from_server);
  734. ^
  735. In file included from commands2.c:83:0:
  736. /home/tabl/BitchX/include/modval.h:111:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  737. #define new_malloc(x) ((void *)(global[NEW_MALLOC]((x),MODULENAME, __FILE__,__L
  738. ^
  739. commands2.c:670:10: note: in expansion of macro ‘new_malloc’
  740. tmp = new_malloc(sizeof(Sping));
  741. ^
  742. In file included from commands2.c:83:0:
  743. /home/tabl/BitchX/include/modval.h:191:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  744. #define m_strdup(x) ((char *)(global[M_STRDUP]((char *)x, MODULENAME, __FILE__,
  745. ^
  746. commands2.c:671:17: note: in expansion of macro ‘m_strdup’
  747. tmp->sname = m_strdup(sname);
  748. ^
  749. In file included from commands2.c:83:0:
  750. /home/tabl/BitchX/include/modval.h:532:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  751. #define get_server_name(x) ((char *) (global[GET_SERVER_NAME]((int)x)))
  752. ^
  753. /home/tabl/BitchX/include/modval.h:125:101: note: in definition of macro ‘my_stricmp’
  754. ((int)(global[MY_STRICMP]((const unsigned char *)x, (const unsigned char *)y)))
  755. ^
  756. commands2.c:679:27: note: in expansion of macro ‘get_server_name’
  757. if (!my_stricmp(sname, get_server_name(from_server)) || !my_stricmp(sname, g
  758. ^
  759. /home/tabl/BitchX/include/modval.h:533:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  760. #define get_server_itsname(x) ((char *) (global[GET_SERVER_ITSNAME]((int)x)))
  761. ^
  762. /home/tabl/BitchX/include/modval.h:125:101: note: in definition of macro ‘my_stricmp’
  763. ((int)(global[MY_STRICMP]((const unsigned char *)x, (const unsigned char *)y)))
  764. ^
  765. commands2.c:679:79: note: in expansion of macro ‘get_server_itsname’
  766. _stricmp(sname, get_server_name(from_server)) || !my_stricmp(sname, get_server_
  767. ^
  768. In file included from commands2.c:83:0:
  769. /home/tabl/BitchX/include/modval.h:533:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  770. #define get_server_itsname(x) ((char *) (global[GET_SERVER_ITSNAME]((int)x)))
  771. ^
  772. commands2.c:687:6: note: in expansion of macro ‘get_server_itsname’
  773. get_server_itsname(from_server) ?
  774. ^
  775. /home/tabl/BitchX/include/modval.h:533:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  776. #define get_server_itsname(x) ((char *) (global[GET_SERVER_ITSNAME]((int)x)))
  777. ^
  778. commands2.c:688:6: note: in expansion of macro ‘get_server_itsname’
  779. get_server_itsname(from_server) :
  780. ^
  781. /home/tabl/BitchX/include/modval.h:532:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  782. #define get_server_name(x) ((char *) (global[GET_SERVER_NAME]((int)x)))
  783. ^
  784. commands2.c:689:6: note: in expansion of macro ‘get_server_name’
  785. get_server_name(from_server), sname);
  786. ^
  787. In file included from commands2.c:83:0:
  788. commands2.c: In function ‘tog_fprot’:
  789. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  790. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  791. ^
  792. commands2.c:750:46: note: in expansion of macro ‘on_off’
  793. bitchsay("Toggled flood protection - [%s]", on_off(here));
  794. ^
  795. commands2.c: In function ‘do_toggle’:
  796. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  797. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  798. ^
  799. commands2.c:777:168: note: in expansion of macro ‘on_off’
  800. tion %K[%W$[-3]1%K] %Cbeep%c %K[%W$[-3]2%K]", "%s %s %s", on_off(get_
  801. ^
  802. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  803. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  804. ^
  805. commands2.c:777:208: note: in expansion of macro ‘on_off’
  806. K[%W$[-3]2%K]", "%s %s %s", on_off(get_int_var(AUTO_NSLOOKUP_VAR)), on_off(get_
  807. ^
  808. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  809. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  810. ^
  811. commands2.c:777:256: note: in expansion of macro ‘on_off’
  812. UTO_NSLOOKUP_VAR)), on_off(get_int_var(CTCP_FLOOD_PROTECTION_VAR)), on_off(get_
  813. ^
  814. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  815. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  816. ^
  817. commands2.c:778:168: note: in expansion of macro ‘on_off’
  818. %K[%W$[-3]1%K] %Ckickf%clood %K[%W$[-3]2%K]", "%s %s %s", on_off(get_
  819. ^
  820. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  821. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  822. ^
  823. commands2.c:778:203: note: in expansion of macro ‘on_off’
  824. d %K[%W$[-3]2%K]", "%s %s %s", on_off(get_int_var(PUBFLOOD_VAR)), on_off(get_
  825. ^
  826. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  827. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  828. ^
  829. commands2.c:778:246: note: in expansion of macro ‘on_off’
  830. _int_var(PUBFLOOD_VAR)), on_off(get_int_var(FLOOD_PROTECTION_VAR)), on_off(get_
  831. ^
  832. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  833. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  834. ^
  835. commands2.c:779:168: note: in expansion of macro ‘on_off’
  836. %K[%W$[-3]1%K] %Cmsg%clog %K[%W$[-3]2%K]", "%s %s %s", on_off(get_
  837. ^
  838. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  839. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  840. ^
  841. commands2.c:779:206: note: in expansion of macro ‘on_off’
  842. %K[%W$[-3]2%K]", "%s %s %s", on_off(get_int_var(DCC_AUTOGET_VAR)), on_off(get_
  843. ^
  844. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  845. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  846. ^
  847. commands2.c:779:243: note: in expansion of macro ‘on_off’
  848. get_int_var(DCC_AUTOGET_VAR)), on_off(get_int_var(FLOOD_KICK_VAR)), on_off(get_
  849. ^
  850. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  851. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  852. ^
  853. commands2.c:780:168: note: in expansion of macro ‘on_off’
  854. %K[%W$[-3]1%K] %Cjoin%cflood %K[%W$[-3]2%K]", "%s %s %s", on_off(get_
  855. ^
  856. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  857. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  858. ^
  859. commands2.c:780:200: note: in expansion of macro ‘on_off’
  860. lood %K[%W$[-3]2%K]", "%s %s %s", on_off(get_int_var(LLOOK_VAR)), on_off(get_
  861. ^
  862. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  863. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  864. ^
  865. commands2.c:780:236: note: in expansion of macro ‘on_off’
  866. on_off(get_int_var(LLOOK_VAR)), on_off(get_int_var(DEOPFLOOD_VAR)), on_off(get_
  867. ^
  868. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  869. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  870. ^
  871. commands2.c:781:168: note: in expansion of macro ‘on_off’
  872. %K[%W$[-3]1%K] %Cnickfl%cood %K[%W$[-3]2%K]", "%s %s %s", on_off(get_
  873. ^
  874. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  875. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  876. ^
  877. commands2.c:781:206: note: in expansion of macro ‘on_off’
  878. %K[%W$[-3]2%K]", "%s %s %s", on_off(get_int_var(AUTO_WHOWAS_VAR)), on_off(get_
  879. ^
  880. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  881. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  882. ^
  883. commands2.c:781:245: note: in expansion of macro ‘on_off’
  884. t_int_var(AUTO_WHOWAS_VAR)), on_off(get_int_var(CTCP_VERBOSE_VAR)), on_off(get_
  885. ^
  886. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  887. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  888. ^
  889. commands2.c:782:168: note: in expansion of macro ‘on_off’
  890. %K[%W$[-3]1%K] %Cshit%clist %K[%W$[-3]2%K]", "%s %s %s", on_off(get_
  891. ^
  892. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  893. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  894. ^
  895. commands2.c:782:200: note: in expansion of macro ‘on_off’
  896. ist %K[%W$[-3]2%K]", "%s %s %s", on_off(get_int_var(CLOAK_VAR)), on_off(get_
  897. ^
  898. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  899. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  900. ^
  901. commands2.c:782:229: note: in expansion of macro ‘on_off’
  902. s %s", on_off(get_int_var(CLOAK_VAR)), on_off(get_int_var(OV_VAR)), on_off(get_
  903. ^
  904. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  905. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  906. ^
  907. commands2.c:783:168: note: in expansion of macro ‘on_off’
  908. %K[%W$[-3]1%K] %Cuser%clist %K[%W$[-3]2%K]", "%s %s %s", on_off(get_
  909. ^
  910. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  911. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  912. ^
  913. commands2.c:783:203: note: in expansion of macro ‘on_off’
  914. %K[%W$[-3]2%K]", "%s %s %s", on_off(get_int_var(KICK_OPS_VAR)), on_off(get_
  915. ^
  916. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  917. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  918. ^
  919. commands2.c:783:240: note: in expansion of macro ‘on_off’
  920. ff(get_int_var(KICK_OPS_VAR)), on_off(get_int_var(ANNOY_KICK_VAR)), on_off(get_
  921. ^
  922. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  923. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  924. ^
  925. commands2.c:784:168: note: in expansion of macro ‘on_off’
  926. %K[%W$[-3]1%K] %Cauto_rej%coin %K[%W$[-3]2%K]", "%s %s %s", on_off(get_
  927. ^
  928. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  929. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  930. ^
  931. commands2.c:784:201: note: in expansion of macro ‘on_off’
  932. %coin %K[%W$[-3]2%K]", "%s %s %s", on_off(get_int_var(HACKING_VAR)),on_off(get_
  933. ^
  934. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  935. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  936. ^
  937. commands2.c:784:243: note: in expansion of macro ‘on_off’
  938. get_int_var(HACKING_VAR)),on_off(get_int_var(NICK_COMPLETION_VAR)), on_off((get
  939. ^
  940. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  941. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  942. ^
  943. commands2.c:785:166: note: in expansion of macro ‘on_off’
  944. %K[%W$[-3]1%K] %Cauto_rec%conn %K[%W$[-3]2%K]", "%s %s %s", on_off((get
  945. ^
  946. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  947. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  948. ^
  949. commands2.c:785:201: note: in expansion of macro ‘on_off’
  950. onn %K[%W$[-3]2%K]", "%s %s %s", on_off((get_int_var(AOP_VAR)?1:0)),on_off((get
  951. ^
  952. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  953. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  954. ^
  955. commands2.c:785:239: note: in expansion of macro ‘on_off’
  956. f((get_int_var(AOP_VAR)?1:0)),on_off((get_int_var(AUTO_AWAY_VAR))), on_off(get_
  957. ^
  958. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  959. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  960. ^
  961. commands2.c:786:164: note: in expansion of macro ‘on_off’
  962. %K[%W$[-3]1%K] %Ckick_if_ban %K[%W$[-3]2%K]", "%s %s %s", on_off((get
  963. ^
  964. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  965. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  966. ^
  967. commands2.c:786:197: note: in expansion of macro ‘on_off’
  968. f_ban %K[%W$[-3]2%K]", "%s %s %s", on_off((get_int_var(BITCH_VAR))),on_off((get
  969. ^
  970. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  971. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  972. ^
  973. commands2.c:786:234: note: in expansion of macro ‘on_off’
  974. _off((get_int_var(BITCH_VAR))),on_off((get_int_var(DCC_FAST_VAR))), on_off(get_
  975. ^
  976. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  977. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  978. ^
  979. commands2.c:787:166: note: in expansion of macro ‘on_off’
  980. %K[%W$[-3]1%K] %Chttp%c_grab %K[%W$[-3]2%K]", "%s %s %s", on_off((get
  981. ^
  982. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  983. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  984. ^
  985. commands2.c:787:202: note: in expansion of macro ‘on_off’
  986. %K[%W$[-3]2%K]", "%s %s %s", on_off((get_int_var(FTP_GRAB_VAR))),on_off((get
  987. ^
  988. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  989. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  990. ^
  991. commands2.c:787:235: note: in expansion of macro ‘on_off’
  992. n_off((get_int_var(FTP_GRAB_VAR))),on_off((get_int_var(MIRCS_VAR))),on_off((get
  993. ^
  994. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  995. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  996. ^
  997. commands2.c:788:164: note: in expansion of macro ‘on_off’
  998. %K[%W$[-3]1%K] %Clog %K[%W$[-3]2%K]", "%s %s %s", on_off((get
  999. ^
  1000. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1001. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  1002. ^
  1003. commands2.c:788:204: note: in expansion of macro ‘on_off’
  1004. K[%W$[-3]2%K]", "%s %s %s", on_off((get_int_var(DISPLAY_ANSI_VAR))),on_off((get
  1005. ^
  1006. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1007. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  1008. ^
  1009. commands2.c:788:242: note: in expansion of macro ‘on_off’
  1010. t_int_var(DISPLAY_ANSI_VAR))),on_off((get_int_var(TIMESTAMP_VAR))), on_off((get
  1011. ^
  1012. In file included from commands2.c:83:0:
  1013. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1014. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  1015. ^
  1016. commands2.c:796:16: note: in expansion of macro ‘next_arg’
  1017. while ((arg = next_arg(args, &args)))
  1018. ^
  1019. In file included from commands2.c:83:0:
  1020. /home/tabl/BitchX/include/modval.h:138:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1021. #define upper(x) ((char *) (global[UPPER]((char *)x)))
  1022. ^
  1023. commands2.c:800:3: note: in expansion of macro ‘upper’
  1024. upper(arg);
  1025. ^
  1026. /home/tabl/BitchX/include/modval.h:138:19: warning: value computed is not used [-Wunused-value]
  1027. #define upper(x) ((char *) (global[UPPER]((char *)x)))
  1028. ^
  1029. commands2.c:800:3: note: in expansion of macro ‘upper’
  1030. upper(arg);
  1031. ^
  1032. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1033. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  1034. ^
  1035. commands2.c:945:40: note: in expansion of macro ‘on_off’
  1036. if (do_hook(SET_LIST, "%s %s", arg, on_off(get_int_var(DISPLAY_ANSI_VAR))))
  1037. ^
  1038. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1039. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  1040. ^
  1041. commands2.c:946:92: note: in expansion of macro ‘on_off’
  1042. t_output_format("$G %cToggled %GAnsi Display %K[%W$[-3]0%K]", "%s", on_off(get_
  1043. ^
  1044. In file included from commands2.c:83:0:
  1045. /home/tabl/BitchX/include/modval.h:471:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1046. #define get_string_var(x) ((char *) (global[GET_STRING_VAR]((int)x)))
  1047. ^
  1048. /home/tabl/BitchX/include/modval.h:401:90: note: in definition of macro ‘set_input_prompt’
  1049. mpt(x, y, z) ((void) (global[SET_INPUT_PROMPT]((Window *)x, (char *)y, (int)z))
  1050. ^
  1051. commands2.c:948:37: note: in expansion of macro ‘get_string_var’
  1052. set_input_prompt(current_window, get_string_var(INPUT_PROMPT_VAR), 0);
  1053. ^
  1054. In file included from commands2.c:83:0:
  1055. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1056. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  1057. ^
  1058. commands2.c:964:40: note: in expansion of macro ‘on_off’
  1059. if (do_hook(SET_LIST, "%s %s", arg, on_off(get_int_var(var))))
  1060. ^
  1061. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1062. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  1063. ^
  1064. commands2.c:965:51: note: in expansion of macro ‘on_off’
  1065. put_it("%s", convert_output_format(str, "%s", on_off(get_int_var(var)) ));
  1066. ^
  1067. commands2.c: In function ‘show_version’:
  1068. /home/tabl/BitchX/include/modval.h:455:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1069. #define fget_string_var(x) ((char *)(global[FGET_STRING_VAR]((int)x)))
  1070. ^
  1071. /home/tabl/BitchX/include/modval.h:114:81: note: in definition of macro ‘malloc_strcpy’
  1072. oc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *)y, MODULENA
  1073. ^
  1074. commands2.c:985:67: note: in expansion of macro ‘fget_string_var’
  1075. malloc_strcpy(&version_buf, stripansicodes(convert_output_format(fget_string_v
  1076. ^
  1077. /home/tabl/BitchX/include/modval.h:259:31: warning: pointer targets in passing argument 1 of ‘stripansicodes’ differ in signedness [-Wpointer-sign]
  1078. #define convert_output_format ((char * (*)())global[CONVERT_OUTPUT_FORMAT])
  1079. ^
  1080. /home/tabl/BitchX/include/modval.h:114:81: note: in definition of macro ‘malloc_strcpy’
  1081. oc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *)y, MODULENA
  1082. ^
  1083. commands2.c:985:45: note: in expansion of macro ‘convert_output_format’
  1084. malloc_strcpy(&version_buf, stripansicodes(convert_output_format(fget_string_v
  1085. ^
  1086. In file included from commands2.c:73:0:
  1087. /home/tabl/BitchX/include/misc.h:74:8: note: expected ‘const unsigned char *’ but argument is of type ‘char *’
  1088. char *stripansicodes (const unsigned char *);
  1089. ^
  1090. In file included from commands2.c:83:0:
  1091. /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1092. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  1093. ^
  1094. commands2.c:985:2: note: in expansion of macro ‘malloc_strcpy’
  1095. malloc_strcpy(&version_buf, stripansicodes(convert_output_format(fget_string_v
  1096. ^
  1097. /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
  1098. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  1099. ^
  1100. commands2.c:985:2: note: in expansion of macro ‘malloc_strcpy’
  1101. malloc_strcpy(&version_buf, stripansicodes(convert_output_format(fget_string_v
  1102. ^
  1103. In file included from commands2.c:83:0:
  1104. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1105. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  1106. ^
  1107. commands2.c:990:10: note: in expansion of macro ‘next_arg’
  1108. nick = next_arg(args, &args);
  1109. ^
  1110. /home/tabl/BitchX/include/modval.h:341:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1111. #define get_current_channel_by_refnum(x) ((char *) (global[GET_CURRENT_CHANNEL_
  1112. ^
  1113. commands2.c:992:10: note: in expansion of macro ‘get_current_channel_by_refnum’
  1114. nick = get_current_channel_by_refnum(0);
  1115. ^
  1116. In file included from commands2.c:83:0:
  1117. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1118. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  1119. ^
  1120. commands2.c:994:2: note: in expansion of macro ‘new_free’
  1121. new_free(&version_buf);
  1122. ^
  1123. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  1124. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  1125. ^
  1126. commands2.c:994:2: note: in expansion of macro ‘new_free’
  1127. new_free(&version_buf);
  1128. ^
  1129. In file included from commands2.c:83:0:
  1130. commands2.c: In function ‘who_user_kill’:
  1131. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1132. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  1133. ^
  1134. commands2.c:1016:16: note: in expansion of macro ‘next_arg’
  1135. server = atol(next_arg(arg, &arg));
  1136. ^
  1137. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1138. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  1139. ^
  1140. commands2.c:1017:13: note: in expansion of macro ‘next_arg’
  1141. nick_arg = next_arg(arg, &arg);
  1142. ^
  1143. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1144. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  1145. ^
  1146. commands2.c:1026:12: note: in expansion of macro ‘next_arg’
  1147. t_nick = next_arg(arg, &arg);
  1148. ^
  1149. commands2.c: In function ‘who_user_killend’:
  1150. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1151. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  1152. ^
  1153. commands2.c:1045:17: note: in expansion of macro ‘next_arg’
  1154. server = atol(next_arg(who_buff, &who_buff));
  1155. ^
  1156. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1157. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  1158. ^
  1159. commands2.c:1046:13: note: in expansion of macro ‘next_arg’
  1160. pattern = next_arg(who_buff, &who_buff);
  1161. ^
  1162. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1163. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  1164. ^
  1165. commands2.c:1047:11: note: in expansion of macro ‘next_arg’
  1166. match = next_arg(who_buff, &who_buff);
  1167. ^
  1168. /home/tabl/BitchX/include/modval.h:200:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1169. #define next_in_comma_list(x, y) ((char *)(global[NEXT_IN_COMMA_LIST]((char *)x
  1170. ^
  1171. commands2.c:1057:19: note: in expansion of macro ‘next_in_comma_list’
  1172. while ((nick = next_in_comma_list(m_buff, &m_buff)))
  1173. ^
  1174. In file included from commands2.c:83:0:
  1175. /home/tabl/BitchX/include/modval.h:119:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1176. #define m_s3cat(x, y, z) ((char *)(global[M_S3CAT]((char **)x, (char *)y, (char
  1177. ^
  1178. commands2.c:1061:5: note: in expansion of macro ‘m_s3cat’
  1179. m_s3cat(&save_buffer, space, nick);
  1180. ^
  1181. /home/tabl/BitchX/include/modval.h:119:27: warning: value computed is not used [-Wunused-value]
  1182. #define m_s3cat(x, y, z) ((char *)(global[M_S3CAT]((char **)x, (char *)y, (char
  1183. ^
  1184. commands2.c:1061:5: note: in expansion of macro ‘m_s3cat’
  1185. m_s3cat(&save_buffer, space, nick);
  1186. ^
  1187. /home/tabl/BitchX/include/modval.h:119:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1188. #define m_s3cat(x, y, z) ((char *)(global[M_S3CAT]((char **)x, (char *)y, (char
  1189. ^
  1190. commands2.c:1066:5: note: in expansion of macro ‘m_s3cat’
  1191. m_s3cat(&buffer, ",", nick);
  1192. ^
  1193. /home/tabl/BitchX/include/modval.h:119:27: warning: value computed is not used [-Wunused-value]
  1194. #define m_s3cat(x, y, z) ((char *)(global[M_S3CAT]((char **)x, (char *)y, (char
  1195. ^
  1196. commands2.c:1066:5: note: in expansion of macro ‘m_s3cat’
  1197. m_s3cat(&buffer, ",", nick);
  1198. ^
  1199. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1200. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  1201. ^
  1202. commands2.c:1071:6: note: in expansion of macro ‘new_free’
  1203. new_free(&buffer);
  1204. ^
  1205. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  1206. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  1207. ^
  1208. commands2.c:1071:6: note: in expansion of macro ‘new_free’
  1209. new_free(&buffer);
  1210. ^
  1211. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1212. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  1213. ^
  1214. commands2.c:1080:4: note: in expansion of macro ‘new_free’
  1215. new_free(&save_buffer);
  1216. ^
  1217. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  1218. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  1219. ^
  1220. commands2.c:1080:4: note: in expansion of macro ‘new_free’
  1221. new_free(&save_buffer);
  1222. ^
  1223. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1224. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  1225. ^
  1226. commands2.c:1081:4: note: in expansion of macro ‘new_free’
  1227. new_free(&buffer);
  1228. ^
  1229. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  1230. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  1231. ^
  1232. commands2.c:1081:4: note: in expansion of macro ‘new_free’
  1233. new_free(&buffer);
  1234. ^
  1235. In file included from commands2.c:83:0:
  1236. commands2.c: In function ‘whokill’:
  1237. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1238. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  1239. ^
  1240. commands2.c:1102:20: note: in expansion of macro ‘next_arg’
  1241. while ((pattern = next_arg(args, &args)))
  1242. ^
  1243. In file included from commands2.c:83:0:
  1244. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1245. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  1246. ^
  1247. commands2.c:1108:3: note: in expansion of macro ‘new_free’
  1248. new_free(&nick_arg);
  1249. ^
  1250. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  1251. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  1252. ^
  1253. commands2.c:1108:3: note: in expansion of macro ‘new_free’
  1254. new_free(&nick_arg);
  1255. ^
  1256. commands2.c: In function ‘trace_handlekill’:
  1257. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1258. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  1259. ^
  1260. commands2.c:1129:3: note: in expansion of macro ‘new_free’
  1261. new_free(&treason);
  1262. ^
  1263. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  1264. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  1265. ^
  1266. commands2.c:1129:3: note: in expansion of macro ‘new_free’
  1267. new_free(&treason);
  1268. ^
  1269. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1270. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  1271. ^
  1272. commands2.c:1130:3: note: in expansion of macro ‘new_free’
  1273. new_free(&tnick_arg);
  1274. ^
  1275. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  1276. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  1277. ^
  1278. commands2.c:1130:3: note: in expansion of macro ‘new_free’
  1279. new_free(&tnick_arg);
  1280. ^
  1281. /home/tabl/BitchX/include/modval.h:531:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1282. #define get_server_nickname(x) ((char *) (global[GET_SERVER_NICKNAME]((int)x)))
  1283. ^
  1284. /home/tabl/BitchX/include/modval.h:125:101: note: in definition of macro ‘my_stricmp’
  1285. ((int)(global[MY_STRICMP]((const unsigned char *)x, (const unsigned char *)y)))
  1286. ^
  1287. commands2.c:1134:24: note: in expansion of macro ‘get_server_nickname’
  1288. if (!my_stricmp(nick, get_server_nickname(from_server)))
  1289. ^
  1290. /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1291. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  1292. ^
  1293. commands2.c:1138:3: note: in expansion of macro ‘malloc_strcpy’
  1294. malloc_strcpy(&treason, get_reason(nick, NULL));
  1295. ^
  1296. /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
  1297. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  1298. ^
  1299. commands2.c:1138:3: note: in expansion of macro ‘malloc_strcpy’
  1300. malloc_strcpy(&treason, get_reason(nick, NULL));
  1301. ^
  1302. commands2.c: In function ‘handle_tracekill’:
  1303. /home/tabl/BitchX/include/modval.h:129:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1304. #define chop(x, n) ((char *) (global[CHOP]((char *)x, (int)n)))
  1305. ^
  1306. commands2.c:1155:2: note: in expansion of macro ‘chop’
  1307. chop(q, 1);
  1308. ^
  1309. /home/tabl/BitchX/include/modval.h:129:21: warning: value computed is not used [-Wunused-value]
  1310. #define chop(x, n) ((char *) (global[CHOP]((char *)x, (int)n)))
  1311. ^
  1312. commands2.c:1155:2: note: in expansion of macro ‘chop’
  1313. chop(q, 1);
  1314. ^
  1315. /home/tabl/BitchX/include/modval.h:531:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1316. #define get_server_nickname(x) ((char *) (global[GET_SERVER_NICKNAME]((int)x)))
  1317. ^
  1318. /home/tabl/BitchX/include/modval.h:125:101: note: in definition of macro ‘my_stricmp’
  1319. ((int)(global[MY_STRICMP]((const unsigned char *)x, (const unsigned char *)y)))
  1320. ^
  1321. commands2.c:1162:23: note: in expansion of macro ‘get_server_nickname’
  1322. if (!my_stricmp(n, get_server_nickname(from_server)))
  1323. ^
  1324. In file included from commands2.c:83:0:
  1325. commands2.c: In function ‘tracekill’:
  1326. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1327. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  1328. ^
  1329. commands2.c:1179:18: note: in expansion of macro ‘next_arg’
  1330. if (!(pattern = next_arg(args, &args)))
  1331. ^
  1332. In file included from commands2.c:83:0:
  1333. /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1334. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  1335. ^
  1336. commands2.c:1182:3: note: in expansion of macro ‘malloc_strcpy’
  1337. malloc_strcpy(&treason, args);
  1338. ^
  1339. /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
  1340. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  1341. ^
  1342. commands2.c:1182:3: note: in expansion of macro ‘malloc_strcpy’
  1343. malloc_strcpy(&treason, args);
  1344. ^
  1345. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1346. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  1347. ^
  1348. commands2.c:1184:3: note: in expansion of macro ‘new_free’
  1349. new_free(&treason);
  1350. ^
  1351. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  1352. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  1353. ^
  1354. commands2.c:1184:3: note: in expansion of macro ‘new_free’
  1355. new_free(&treason);
  1356. ^
  1357. In file included from commands2.c:83:0:
  1358. commands2.c: In function ‘traceserv’:
  1359. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1360. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  1361. ^
  1362. commands2.c:1206:17: note: in expansion of macro ‘next_arg’
  1363. if (!(server = next_arg(args, &args)) ||
  1364. ^
  1365. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1366. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  1367. ^
  1368. commands2.c:1207:15: note: in expansion of macro ‘next_arg’
  1369. !(pattern = next_arg(args, &args)))
  1370. ^
  1371. In file included from commands2.c:83:0:
  1372. /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1373. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  1374. ^
  1375. commands2.c:1210:10: note: in expansion of macro ‘malloc_strcpy’
  1376. malloc_strcpy(&treason, args);
  1377. ^
  1378. /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
  1379. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  1380. ^
  1381. commands2.c:1210:10: note: in expansion of macro ‘malloc_strcpy’
  1382. malloc_strcpy(&treason, args);
  1383. ^
  1384. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1385. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  1386. ^
  1387. commands2.c:1212:3: note: in expansion of macro ‘new_free’
  1388. new_free(&treason);
  1389. ^
  1390. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  1391. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  1392. ^
  1393. commands2.c:1212:3: note: in expansion of macro ‘new_free’
  1394. new_free(&treason);
  1395. ^
  1396. In file included from commands2.c:83:0:
  1397. commands2.c: In function ‘jnw’:
  1398. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1399. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  1400. ^
  1401. commands2.c:1303:17: note: in expansion of macro ‘next_arg’
  1402. if ((channel = next_arg(args, &args)))
  1403. ^
  1404. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1405. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  1406. ^
  1407. commands2.c:1308:20: note: in expansion of macro ‘next_arg’
  1408. if (!(channel = next_arg(args, &args)))
  1409. ^
  1410. /home/tabl/BitchX/include/modval.h:299:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1411. #define new_window(x) ((Window *) (global[NEW_WINDOW]((Screen *)x)))
  1412. ^
  1413. commands2.c:1312:14: note: in expansion of macro ‘new_window’
  1414. if ((tmp = new_window(current_window->screen)))
  1415. ^
  1416. /home/tabl/BitchX/include/modval.h:411:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1417. #define make_channel(x) ((char *) (global[MAKE_CHANNEL]((char *)x)))
  1418. ^
  1419. commands2.c:1317:30: note: in expansion of macro ‘make_channel’
  1420. if (channel && (channel = make_channel(channel)))
  1421. ^
  1422. In file included from commands2.c:83:0:
  1423. /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1424. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  1425. ^
  1426. commands2.c:1320:5: note: in expansion of macro ‘malloc_strcpy’
  1427. malloc_strcpy(&tmp->waiting_channel, channel);
  1428. ^
  1429. /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
  1430. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  1431. ^
  1432. commands2.c:1320:5: note: in expansion of macro ‘malloc_strcpy’
  1433. malloc_strcpy(&tmp->waiting_channel, channel);
  1434. ^
  1435. In file included from commands2.c:83:0:
  1436. commands2.c: In function ‘change_orig_nick’:
  1437. /home/tabl/BitchX/include/modval.h:531:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1438. #define get_server_nickname(x) ((char *) (global[GET_SERVER_NICKNAME]((int)x)))
  1439. ^
  1440. commands2.c:1334:17: note: in expansion of macro ‘get_server_nickname’
  1441. char *curnick = get_server_nickname(server);
  1442. ^
  1443. commands2.c: In function ‘gain_nick’:
  1444. /home/tabl/BitchX/include/modval.h:481:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1445. #define add_timer(x, y, z, n, f, a, b, w, c) ((char *) (global[ADD_TIMER]((int)
  1446. ^
  1447. commands2.c:1359:3: note: in expansion of macro ‘add_timer’
  1448. add_timer(0, empty_string, get_int_var(ORIGNICK_TIME_VAR) * 1000, 1, delay_ga
  1449. ^
  1450. /home/tabl/BitchX/include/modval.h:481:47: warning: value computed is not used [-Wunused-value]
  1451. #define add_timer(x, y, z, n, f, a, b, w, c) ((char *) (global[ADD_TIMER]((int)
  1452. ^
  1453. commands2.c:1359:3: note: in expansion of macro ‘add_timer’
  1454. add_timer(0, empty_string, get_int_var(ORIGNICK_TIME_VAR) * 1000, 1, delay_ga
  1455. ^
  1456. commands2.c: In function ‘orig_nick’:
  1457. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1458. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  1459. ^
  1460. commands2.c:1391:34: note: in expansion of macro ‘next_arg’
  1461. if (!args || !*args || !(nick = next_arg(args, &args)))
  1462. ^
  1463. In file included from commands2.c:83:0:
  1464. /home/tabl/BitchX/include/modval.h:145:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1465. #define check_nickname(x) ((char *) (global[CHECK_NICKNAME]((char *)x)))
  1466. ^
  1467. commands2.c:1411:20: note: in expansion of macro ‘check_nickname’
  1468. else if ((nick = check_nickname(nick)))
  1469. ^
  1470. commands2.c: In function ‘add_bad_nick’:
  1471. /home/tabl/BitchX/include/modval.h:119:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1472. #define m_s3cat(x, y, z) ((char *)(global[M_S3CAT]((char **)x, (char *)y, (char
  1473. ^
  1474. commands2.c:1443:6: note: in expansion of macro ‘m_s3cat’
  1475. m_s3cat(&buffer, lame_nick->nick, "\t");
  1476. ^
  1477. /home/tabl/BitchX/include/modval.h:119:27: warning: value computed is not used [-Wunused-value]
  1478. #define m_s3cat(x, y, z) ((char *)(global[M_S3CAT]((char **)x, (char *)y, (char
  1479. ^
  1480. commands2.c:1443:6: note: in expansion of macro ‘m_s3cat’
  1481. m_s3cat(&buffer, lame_nick->nick, "\t");
  1482. ^
  1483. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1484. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  1485. ^
  1486. commands2.c:1451:6: note: in expansion of macro ‘new_free’
  1487. new_free(&buffer);
  1488. ^
  1489. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  1490. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  1491. ^
  1492. commands2.c:1451:6: note: in expansion of macro ‘new_free’
  1493. new_free(&buffer);
  1494. ^
  1495. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1496. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  1497. ^
  1498. commands2.c:1456:4: note: in expansion of macro ‘new_free’
  1499. new_free(&buffer);
  1500. ^
  1501. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  1502. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  1503. ^
  1504. commands2.c:1456:4: note: in expansion of macro ‘new_free’
  1505. new_free(&buffer);
  1506. ^
  1507. In file included from commands2.c:83:0:
  1508. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1509. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  1510. ^
  1511. commands2.c:1464:10: note: in expansion of macro ‘next_arg’
  1512. nick = next_arg(args, &args);
  1513. ^
  1514. In file included from commands2.c:83:0:
  1515. /home/tabl/BitchX/include/modval.h:111:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1516. #define new_malloc(x) ((void *)(global[NEW_MALLOC]((x),MODULENAME, __FILE__,__L
  1517. ^
  1518. commands2.c:1468:28: note: in expansion of macro ‘new_malloc’
  1519. lame_nick = (LameList *)new_malloc(sizeof(LameList));
  1520. ^
  1521. /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1522. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  1523. ^
  1524. commands2.c:1469:4: note: in expansion of macro ‘malloc_strcpy’
  1525. malloc_strcpy(&lame_nick->nick, nick);
  1526. ^
  1527. /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
  1528. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  1529. ^
  1530. commands2.c:1469:4: note: in expansion of macro ‘malloc_strcpy’
  1531. malloc_strcpy(&lame_nick->nick, nick);
  1532. ^
  1533. In file included from commands2.c:83:0:
  1534. /home/tabl/BitchX/include/modval.h:228:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1535. #define remove_from_list(x, y) ((List *) (global[REMOVE_FROM_LIST_]((List **)x,
  1536. ^
  1537. commands2.c:1474:28: note: in expansion of macro ‘remove_from_list’
  1538. lame_nick = (LameList *)remove_from_list((List **)&lame_list, nick);
  1539. ^
  1540. In file included from commands2.c:83:0:
  1541. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1542. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  1543. ^
  1544. commands2.c:1477:5: note: in expansion of macro ‘new_free’
  1545. new_free(&lame_nick->nick);
  1546. ^
  1547. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  1548. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  1549. ^
  1550. commands2.c:1477:5: note: in expansion of macro ‘new_free’
  1551. new_free(&lame_nick->nick);
  1552. ^
  1553. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1554. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  1555. ^
  1556. commands2.c:1478:5: note: in expansion of macro ‘new_free’
  1557. new_free((char **)&lame_nick);
  1558. ^
  1559. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  1560. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  1561. ^
  1562. commands2.c:1478:5: note: in expansion of macro ‘new_free’
  1563. new_free((char **)&lame_nick);
  1564. ^
  1565. /home/tabl/BitchX/include/modval.h:119:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1566. #define m_s3cat(x, y, z) ((char *)(global[M_S3CAT]((char **)x, (char *)y, (char
  1567. ^
  1568. commands2.c:1486:5: note: in expansion of macro ‘m_s3cat’
  1569. m_s3cat(&buffer, nick, "\t");
  1570. ^
  1571. /home/tabl/BitchX/include/modval.h:119:27: warning: value computed is not used [-Wunused-value]
  1572. #define m_s3cat(x, y, z) ((char *)(global[M_S3CAT]((char **)x, (char *)y, (char
  1573. ^
  1574. commands2.c:1486:5: note: in expansion of macro ‘m_s3cat’
  1575. m_s3cat(&buffer, nick, "\t");
  1576. ^
  1577. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1578. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  1579. ^
  1580. commands2.c:1493:2: note: in expansion of macro ‘new_free’
  1581. new_free(&buffer);
  1582. ^
  1583. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  1584. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  1585. ^
  1586. commands2.c:1493:2: note: in expansion of macro ‘new_free’
  1587. new_free(&buffer);
  1588. ^
  1589. commands2.c: In function ‘grab_http’:
  1590. /home/tabl/BitchX/include/modval.h:140:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1591. #define stristr(x, y) ((char *) (global[STRISTR]((const char *)x, (char *)y)))
  1592. ^
  1593. commands2.c:1515:37: note: in expansion of macro ‘stristr’
  1594. if ((get_int_var(HTTP_GRAB_VAR) && stristr(text, "HTTP:")) || (get_int_var(FTP
  1595. ^
  1596. /home/tabl/BitchX/include/modval.h:140:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1597. #define stristr(x, y) ((char *) (global[STRISTR]((const char *)x, (char *)y)))
  1598. ^
  1599. commands2.c:1515:95: note: in expansion of macro ‘stristr’
  1600. B_VAR) && stristr(text, "HTTP:")) || (get_int_var(FTP_GRAB_VAR) && (stristr(tex
  1601. ^
  1602. /home/tabl/BitchX/include/modval.h:140:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1603. #define stristr(x, y) ((char *) (global[STRISTR]((const char *)x, (char *)y)))
  1604. ^
  1605. commands2.c:1515:120: note: in expansion of macro ‘stristr’
  1606. HTTP:")) || (get_int_var(FTP_GRAB_VAR) && (stristr(text, "FTP:") || stristr(tex
  1607. ^
  1608. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1609. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  1610. ^
  1611. commands2.c:1522:5: note: in expansion of macro ‘new_free’
  1612. new_free(&q);
  1613. ^
  1614. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  1615. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  1616. ^
  1617. commands2.c:1522:5: note: in expansion of macro ‘new_free’
  1618. new_free(&q);
  1619. ^
  1620. /home/tabl/BitchX/include/modval.h:111:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1621. #define new_malloc(x) ((void *)(global[NEW_MALLOC]((x),MODULENAME, __FILE__,__L
  1622. ^
  1623. commands2.c:1537:25: note: in expansion of macro ‘new_malloc’
  1624. new_url = (UrlList *) new_malloc(sizeof(UrlList));
  1625. ^
  1626. In file included from commands2.c:83:0:
  1627. commands2.c: In function ‘url_grabber’:
  1628. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1629. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  1630. ^
  1631. commands2.c:1564:15: note: in expansion of macro ‘next_arg’
  1632. while ((p = next_arg(args, &args)))
  1633. ^
  1634. /home/tabl/BitchX/include/modval.h:471:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1635. #define get_string_var(x) ((char *) (global[GET_STRING_VAR]((int)x)))
  1636. ^
  1637. commands2.c:1573:56: note: in expansion of macro ‘get_string_var’
  1638. snprintf(buffer, BIG_BUFFER_SIZE, "%s/BitchX.url", get_string_var(CTOOLZ_DI
  1639. ^
  1640. In file included from commands2.c:83:0:
  1641. /home/tabl/BitchX/include/modval.h:144:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1642. #define expand_twiddle(x) ((char *) (global[EXPAND_TWIDDLE]((char *)x)))
  1643. ^
  1644. commands2.c:1574:16: note: in expansion of macro ‘expand_twiddle’
  1645. filename = expand_twiddle(buffer);
  1646. ^
  1647. In file included from commands2.c:83:0:
  1648. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1649. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  1650. ^
  1651. commands2.c:1578:15: note: in expansion of macro ‘next_arg’
  1652. number = next_arg(args, &args);
  1653. ^
  1654. In file included from commands2.c:83:0:
  1655. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1656. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  1657. ^
  1658. commands2.c:1584:5: note: in expansion of macro ‘new_free’
  1659. new_free(&filename);
  1660. ^
  1661. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  1662. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  1663. ^
  1664. commands2.c:1584:5: note: in expansion of macro ‘new_free’
  1665. new_free(&filename);
  1666. ^
  1667. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1668. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  1669. ^
  1670. commands2.c:1592:6: note: in expansion of macro ‘new_free’
  1671. new_free(&cur_url);
  1672. ^
  1673. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  1674. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  1675. ^
  1676. commands2.c:1592:6: note: in expansion of macro ‘new_free’
  1677. new_free(&cur_url);
  1678. ^
  1679. In file included from commands2.c:83:0:
  1680. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1681. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  1682. ^
  1683. commands2.c:1601:17: note: in expansion of macro ‘next_arg’
  1684. char *ans = next_arg(args, &args);
  1685. ^
  1686. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1687. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  1688. ^
  1689. commands2.c:1611:17: note: in expansion of macro ‘next_arg’
  1690. char *ans = next_arg(args, &args);
  1691. ^
  1692. In file included from commands2.c:83:0:
  1693. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1694. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  1695. ^
  1696. commands2.c:1628:7: note: in expansion of macro ‘new_free’
  1697. new_free(&cur_url);
  1698. ^
  1699. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  1700. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  1701. ^
  1702. commands2.c:1628:7: note: in expansion of macro ‘new_free’
  1703. new_free(&cur_url);
  1704. ^
  1705. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1706. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  1707. ^
  1708. commands2.c:1643:14: note: in expansion of macro ‘new_free’
  1709. new_free(&cur_url);
  1710. ^
  1711. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  1712. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  1713. ^
  1714. commands2.c:1643:14: note: in expansion of macro ‘new_free’
  1715. new_free(&cur_url);
  1716. ^
  1717. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1718. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  1719. ^
  1720. commands2.c:1671:96: note: in expansion of macro ‘on_off’
  1721. ut_format("$G HTTP grab %K[%W$0%K]%n FTP grab %K[%W$1%K]", "%s %s", on_off(get_
  1722. ^
  1723. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1724. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  1725. ^
  1726. commands2.c:1671:132: note: in expansion of macro ‘on_off’
  1727. FTP grab %K[%W$1%K]", "%s %s", on_off(get_int_var(HTTP_GRAB_VAR)), on_off(get_
  1728. ^
  1729. commands2.c: In function ‘set_autoreply’:
  1730. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1731. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  1732. ^
  1733. commands2.c:1739:3: note: in expansion of macro ‘new_free’
  1734. new_free(&auto_str);
  1735. ^
  1736. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  1737. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  1738. ^
  1739. commands2.c:1739:3: note: in expansion of macro ‘new_free’
  1740. new_free(&auto_str);
  1741. ^
  1742. In file included from commands2.c:83:0:
  1743. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1744. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  1745. ^
  1746. commands2.c:1744:7: note: in expansion of macro ‘next_arg’
  1747. p = next_arg(args, &args);
  1748. ^
  1749. In file included from commands2.c:83:0:
  1750. /home/tabl/BitchX/include/modval.h:123:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1751. #define m_e3cat(x, y, z) ((char *)(global[M_E3CAT]((char **)x, (char *)y, (char
  1752. ^
  1753. commands2.c:1748:4: note: in expansion of macro ‘m_e3cat’
  1754. m_e3cat(&new_args, nickname, space);
  1755. ^
  1756. /home/tabl/BitchX/include/modval.h:123:27: warning: value computed is not used [-Wunused-value]
  1757. #define m_e3cat(x, y, z) ((char *)(global[M_E3CAT]((char **)x, (char *)y, (char
  1758. ^
  1759. commands2.c:1748:4: note: in expansion of macro ‘m_e3cat’
  1760. m_e3cat(&new_args, nickname, space);
  1761. ^
  1762. /home/tabl/BitchX/include/modval.h:123:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1763. #define m_e3cat(x, y, z) ((char *)(global[M_E3CAT]((char **)x, (char *)y, (char
  1764. ^
  1765. commands2.c:1749:4: note: in expansion of macro ‘m_e3cat’
  1766. m_e3cat(&new_args, strip(nickname, not_wanted1), (len > 4 ? space: empty_str
  1767. ^
  1768. /home/tabl/BitchX/include/modval.h:123:27: warning: value computed is not used [-Wunused-value]
  1769. #define m_e3cat(x, y, z) ((char *)(global[M_E3CAT]((char **)x, (char *)y, (char
  1770. ^
  1771. commands2.c:1749:4: note: in expansion of macro ‘m_e3cat’
  1772. m_e3cat(&new_args, strip(nickname, not_wanted1), (len > 4 ? space: empty_str
  1773. ^
  1774. /home/tabl/BitchX/include/modval.h:123:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1775. #define m_e3cat(x, y, z) ((char *)(global[M_E3CAT]((char **)x, (char *)y, (char
  1776. ^
  1777. commands2.c:1757:6: note: in expansion of macro ‘m_e3cat’
  1778. m_e3cat(&new_args, new_nick, space);
  1779. ^
  1780. /home/tabl/BitchX/include/modval.h:123:27: warning: value computed is not used [-Wunused-value]
  1781. #define m_e3cat(x, y, z) ((char *)(global[M_E3CAT]((char **)x, (char *)y, (char
  1782. ^
  1783. commands2.c:1757:6: note: in expansion of macro ‘m_e3cat’
  1784. m_e3cat(&new_args, new_nick, space);
  1785. ^
  1786. /home/tabl/BitchX/include/modval.h:123:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1787. #define m_e3cat(x, y, z) ((char *)(global[M_E3CAT]((char **)x, (char *)y, (char
  1788. ^
  1789. commands2.c:1760:5: note: in expansion of macro ‘m_e3cat’
  1790. m_e3cat(&new_args, strip(nickname, not_wanted2), (len > 4 ? space:empty_str
  1791. ^
  1792. /home/tabl/BitchX/include/modval.h:123:27: warning: value computed is not used [-Wunused-value]
  1793. #define m_e3cat(x, y, z) ((char *)(global[M_E3CAT]((char **)x, (char *)y, (char
  1794. ^
  1795. commands2.c:1760:5: note: in expansion of macro ‘m_e3cat’
  1796. m_e3cat(&new_args, strip(nickname, not_wanted2), (len > 4 ? space:empty_str
  1797. ^
  1798. /home/tabl/BitchX/include/modval.h:115:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1799. #define malloc_strcat(x, y) ((char *)(global[MALLOC_STRCAT]((char **)x, (char *
  1800. ^
  1801. commands2.c:1768:6: note: in expansion of macro ‘malloc_strcat’
  1802. malloc_strcat(&new_args, new_nick);
  1803. ^
  1804. /home/tabl/BitchX/include/modval.h:115:30: warning: value computed is not used [-Wunused-value]
  1805. #define malloc_strcat(x, y) ((char *)(global[MALLOC_STRCAT]((char **)x, (char *
  1806. ^
  1807. commands2.c:1768:6: note: in expansion of macro ‘malloc_strcat’
  1808. malloc_strcat(&new_args, new_nick);
  1809. ^
  1810. /home/tabl/BitchX/include/modval.h:121:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1811. #define m_3cat(x, y, z) ((char *) (global[M_3CAT]((char **)x, (char *)y, (char
  1812. ^
  1813. commands2.c:1776:5: note: in expansion of macro ‘m_3cat’
  1814. m_3cat(&new_args, p, args?space:empty_string);
  1815. ^
  1816. /home/tabl/BitchX/include/modval.h:121:26: warning: value computed is not used [-Wunused-value]
  1817. #define m_3cat(x, y, z) ((char *) (global[M_3CAT]((char **)x, (char *)y, (char
  1818. ^
  1819. commands2.c:1776:5: note: in expansion of macro ‘m_3cat’
  1820. m_3cat(&new_args, p, args?space:empty_string);
  1821. ^
  1822. In file included from commands2.c:83:0:
  1823. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1824. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  1825. ^
  1826. commands2.c:1777:18: note: in expansion of macro ‘next_arg’
  1827. } while ((p = next_arg(args, &args)));
  1828. ^
  1829. In file included from commands2.c:83:0:
  1830. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1831. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  1832. ^
  1833. commands2.c:1781:3: note: in expansion of macro ‘new_free’
  1834. new_free(&new_args);
  1835. ^
  1836. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  1837. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  1838. ^
  1839. commands2.c:1781:3: note: in expansion of macro ‘new_free’
  1840. new_free(&new_args);
  1841. ^
  1842. In file included from commands2.c:83:0:
  1843. /home/tabl/BitchX/include/modval.h:471:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1844. #define get_string_var(x) ((char *) (global[GET_STRING_VAR]((int)x)))
  1845. ^
  1846. commands2.c:1782:45: note: in expansion of macro ‘get_string_var’
  1847. bitchsay("Auto-Response now set to [%s]", get_string_var(AUTO_RESPONSE_STR_VA
  1848. ^
  1849. commands2.c: In function ‘add_no_flood’:
  1850. /home/tabl/BitchX/include/modval.h:439:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1851. #define next_namelist(x, y, z) ((List *) (global[NEXT_NAMELIST]((HashEntry *)x,
  1852. ^
  1853. commands2.c:1812:15: note: in expansion of macro ‘next_namelist’
  1854. for (nptr = next_namelist(no_flood_list, NULL, FLOOD_HASHSIZE); nptr; nptr =
  1855. ^
  1856. /home/tabl/BitchX/include/modval.h:439:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1857. #define next_namelist(x, y, z) ((List *) (global[NEXT_NAMELIST]((HashEntry *)x,
  1858. ^
  1859. commands2.c:1812:80: note: in expansion of macro ‘next_namelist’
  1860. = next_namelist(no_flood_list, NULL, FLOOD_HASHSIZE); nptr; nptr = next_nameli
  1861. ^
  1862. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1863. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  1864. ^
  1865. commands2.c:1822:9: note: in expansion of macro ‘next_arg’
  1866. nick = next_arg(args, &args);
  1867. ^
  1868. /home/tabl/BitchX/include/modval.h:441:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1869. #define find_name_in_genericlist(x, y, z, a) ((List *) (global[FIND_NAME_IN_GEN
  1870. ^
  1871. commands2.c:1825:16: note: in expansion of macro ‘find_name_in_genericlist’
  1872. if (!(nptr = find_name_in_genericlist(nick, no_flood_list, FLOOD_HASHSIZE, 0)
  1873. ^
  1874. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1875. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  1876. ^
  1877. commands2.c:1827:10: note: in expansion of macro ‘next_arg’
  1878. nick = next_arg(args, &args);
  1879. ^
  1880. commands2.c: In function ‘check_clones’:
  1881. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1882. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  1883. ^
  1884. commands2.c:1840:13: note: in expansion of macro ‘next_arg’
  1885. channel = next_arg(args, &args);
  1886. ^
  1887. /home/tabl/BitchX/include/modval.h:411:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1888. #define make_channel(x) ((char *) (global[MAKE_CHANNEL]((char *)x)))
  1889. ^
  1890. commands2.c:1841:13: note: in expansion of macro ‘make_channel’
  1891. channel = make_channel(channel);
  1892. ^
  1893. /home/tabl/BitchX/include/modval.h:258:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1894. #define prepare_command(x, y, z) ((ChannelList *)(global[PREPARE_COMMAND](x, y,
  1895. ^
  1896. commands2.c:1842:10: note: in expansion of macro ‘prepare_command’
  1897. chan = prepare_command(&server, channel, NO_OP);
  1898. ^
  1899. /home/tabl/BitchX/include/modval.h:341:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1900. #define get_current_channel_by_refnum(x) ((char *) (global[GET_CURRENT_CHANNEL_
  1901. ^
  1902. commands2.c:1846:13: note: in expansion of macro ‘get_current_channel_by_refnum’
  1903. channel = get_current_channel_by_refnum(0);
  1904. ^
  1905. /home/tabl/BitchX/include/modval.h:258:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1906. #define prepare_command(x, y, z) ((ChannelList *)(global[PREPARE_COMMAND](x, y,
  1907. ^
  1908. commands2.c:1847:10: note: in expansion of macro ‘prepare_command’
  1909. chan = prepare_command(&server, channel, NO_OP);
  1910. ^
  1911. /home/tabl/BitchX/include/modval.h:438:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1912. #define next_nicklist(x, y) ((NickList *) (global[NEXT_NICKLIST] ((ChannelList
  1913. ^
  1914. commands2.c:1851:14: note: in expansion of macro ‘next_nicklist’
  1915. for (nptr = next_nicklist(chan, NULL); nptr; nptr = next_nicklist(chan, nptr))
  1916. ^
  1917. /home/tabl/BitchX/include/modval.h:438:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1918. #define next_nicklist(x, y) ((NickList *) (global[NEXT_NICKLIST] ((ChannelList
  1919. ^
  1920. commands2.c:1851:54: note: in expansion of macro ‘next_nicklist’
  1921. for (nptr = next_nicklist(chan, NULL); nptr; nptr = next_nicklist(chan, nptr))
  1922. ^
  1923. /home/tabl/BitchX/include/modval.h:438:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1924. #define next_nicklist(x, y) ((NickList *) (global[NEXT_NICKLIST] ((ChannelList
  1925. ^
  1926. commands2.c:1853:14: note: in expansion of macro ‘next_nicklist’
  1927. for (nptr = next_nicklist(chan, NULL); nptr; nptr = next_nicklist(chan, nptr))
  1928. ^
  1929. /home/tabl/BitchX/include/modval.h:438:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1930. #define next_nicklist(x, y) ((NickList *) (global[NEXT_NICKLIST] ((ChannelList
  1931. ^
  1932. commands2.c:1853:54: note: in expansion of macro ‘next_nicklist’
  1933. for (nptr = next_nicklist(chan, NULL); nptr; nptr = next_nicklist(chan, nptr))
  1934. ^
  1935. /home/tabl/BitchX/include/modval.h:438:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1936. #define next_nicklist(x, y) ((NickList *) (global[NEXT_NICKLIST] ((ChannelList
  1937. ^
  1938. commands2.c:1858:16: note: in expansion of macro ‘next_nicklist’
  1939. for (nptr1 = next_nicklist(chan, NULL); nptr1; nptr1 = next_nicklist(chan, np
  1940. ^
  1941. /home/tabl/BitchX/include/modval.h:438:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1942. #define next_nicklist(x, y) ((NickList *) (global[NEXT_NICKLIST] ((ChannelList
  1943. ^
  1944. commands2.c:1858:58: note: in expansion of macro ‘next_nicklist’
  1945. for (nptr1 = next_nicklist(chan, NULL); nptr1; nptr1 = next_nicklist(chan, np
  1946. ^
  1947. commands2.c: In function ‘pastecmd’:
  1948. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1949. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  1950. ^
  1951. commands2.c:1918:15: note: in expansion of macro ‘next_arg’
  1952. if ((lines = next_arg(args, &args)))
  1953. ^
  1954. /home/tabl/BitchX/include/modval.h:341:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1955. #define get_current_channel_by_refnum(x) ((char *) (global[GET_CURRENT_CHANNEL_
  1956. ^
  1957. commands2.c:1921:13: note: in expansion of macro ‘get_current_channel_by_refnum’
  1958. channel = get_current_channel_by_refnum(0);
  1959. ^
  1960. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1961. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  1962. ^
  1963. commands2.c:1927:8: note: in expansion of macro ‘next_arg’
  1964. t = next_arg(args, &args);
  1965. ^
  1966. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1967. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  1968. ^
  1969. commands2.c:1934:11: note: in expansion of macro ‘next_arg’
  1970. t = next_arg(args, &args);
  1971. ^
  1972. /home/tabl/BitchX/include/modval.h:341:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1973. #define get_current_channel_by_refnum(x) ((char *) (global[GET_CURRENT_CHANNEL_
  1974. ^
  1975. commands2.c:1947:30: note: in expansion of macro ‘get_current_channel_by_refnum’
  1976. if (!channel && !(channel = get_current_channel_by_refnum(0)))
  1977. ^
  1978. /home/tabl/BitchX/include/modval.h:322:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1979. #define get_window_by_refnum(x) ((Window *) (global[GET_WINDOW_BY_REFNUM]((unsi
  1980. ^
  1981. commands2.c:1949:8: note: in expansion of macro ‘get_window_by_refnum’
  1982. win = get_window_by_refnum(winref);
  1983. ^
  1984. /home/tabl/BitchX/include/modval.h:455:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  1985. #define fget_string_var(x) ((char *)(global[FGET_STRING_VAR]((int)x)))
  1986. ^
  1987. /home/tabl/BitchX/include/modval.h:261:86: note: in definition of macro ‘send_text’
  1988. (x, y, z, a, b) ((void) (global[SEND_TEXT]((char *)x, (const char *)y, (char *)
  1989. ^
  1990. commands2.c:2020:46: note: in expansion of macro ‘fget_string_var’
  1991. send_text(channel, convert_output_format(fget_string_var(FORMAT_PASTE_FSET)
  1992. ^
  1993. commands2.c: In function ‘handle_reconnect’:
  1994. commands2.c:2457:56: warning: pointer targets in passing argument 3 of ‘getpeername’ differ in signedness [-Wpointer-sign]
  1995. if (n < 0 || getpeername(n, (struct sockaddr *)&addr, &len) < 0)
  1996. ^
  1997. In file included from /home/tabl/BitchX/include/irc.h:62:0,
  1998. from commands2.c:8:
  1999. /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 *’
  2000. extern int getpeername (int __fd, __SOCKADDR_ARG __addr,
  2001. ^
  2002. In file included from commands2.c:83:0:
  2003. commands2.c: In function ‘do_detach’:
  2004. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2005. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  2006. ^
  2007. /home/tabl/BitchX/include/modval.h:191:56: note: in definition of macro ‘m_strdup’
  2008. #define m_strdup(x) ((char *)(global[M_STRDUP]((char *)x, MODULENAME, __FILE__,
  2009. ^
  2010. commands2.c:2609:23: note: in expansion of macro ‘next_arg’
  2011. old_pass = m_strdup(next_arg(args, &args));
  2012. ^
  2013. /home/tabl/BitchX/include/modval.h:191:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2014. #define m_strdup(x) ((char *)(global[M_STRDUP]((char *)x, MODULENAME, __FILE__,
  2015. ^
  2016. commands2.c:2609:14: note: in expansion of macro ‘m_strdup’
  2017. old_pass = m_strdup(next_arg(args, &args));
  2018. ^
  2019. commands2.c: In function ‘detachcmd’:
  2020. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2021. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  2022. ^
  2023. commands2.c:2665:12: note: in expansion of macro ‘next_arg’
  2024. if ((p = next_arg(args, &args)))
  2025. ^
  2026. In file included from commands2.c:83:0:
  2027. /home/tabl/BitchX/include/modval.h:188:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2028. #define cryptit(x) ((char *) (global[CRYPTIT]((const char *)x)))
  2029. ^
  2030. /home/tabl/BitchX/include/modval.h:114:81: note: in definition of macro ‘malloc_strcpy’
  2031. oc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *)y, MODULENA
  2032. ^
  2033. commands2.c:2666:29: note: in expansion of macro ‘cryptit’
  2034. malloc_strcpy(&old_pass, cryptit(p));
  2035. ^
  2036. /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2037. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  2038. ^
  2039. commands2.c:2666:4: note: in expansion of macro ‘malloc_strcpy’
  2040. malloc_strcpy(&old_pass, cryptit(p));
  2041. ^
  2042. /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
  2043. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  2044. ^
  2045. commands2.c:2666:4: note: in expansion of macro ‘malloc_strcpy’
  2046. malloc_strcpy(&old_pass, cryptit(p));
  2047. ^
  2048. In file included from commands2.c:83:0:
  2049. commands2.c: In function ‘spam’:
  2050. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2051. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  2052. ^
  2053. commands2.c:2710:6: note: in expansion of macro ‘next_arg’
  2054. c = next_arg(args, &args);
  2055. ^
  2056. /home/tabl/BitchX/include/modval.h:411:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2057. #define make_channel(x) ((char *) (global[MAKE_CHANNEL]((char *)x)))
  2058. ^
  2059. commands2.c:2711:6: note: in expansion of macro ‘make_channel’
  2060. c = make_channel(c);
  2061. ^
  2062. /home/tabl/BitchX/include/modval.h:433:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2063. #define lookup_channel(x, y, z) ((ChannelList *) (global[LOOKUP_CHANNEL]((char
  2064. ^
  2065. commands2.c:2717:14: note: in expansion of macro ‘lookup_channel’
  2066. if ((chan = lookup_channel(c, from_server, 0)))
  2067. ^
  2068. /home/tabl/BitchX/include/modval.h:438:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2069. #define next_nicklist(x, y) ((NickList *) (global[NEXT_NICKLIST] ((ChannelList
  2070. ^
  2071. commands2.c:2720:12: note: in expansion of macro ‘next_nicklist’
  2072. for (u = next_nicklist(chan, NULL); u; u = next_nicklist(chan, u))
  2073. ^
  2074. /home/tabl/BitchX/include/modval.h:438:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2075. #define next_nicklist(x, y) ((NickList *) (global[NEXT_NICKLIST] ((ChannelList
  2076. ^
  2077. commands2.c:2720:46: note: in expansion of macro ‘next_nicklist’
  2078. for (u = next_nicklist(chan, NULL); u; u = next_nicklist(chan, u))
  2079. ^
  2080. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2081. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  2082. ^
  2083. commands2.c:2726:16: note: in expansion of macro ‘next_arg’
  2084. while ((t = next_arg(tmpc, &tmpc)))
  2085. ^
  2086. /home/tabl/BitchX/include/modval.h:411:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2087. #define make_channel(x) ((char *) (global[MAKE_CHANNEL]((char *)x)))
  2088. ^
  2089. commands2.c:2728:15: note: in expansion of macro ‘make_channel’
  2090. if (!(t = make_channel(t)))
  2091. ^
  2092. /home/tabl/BitchX/include/modval.h:433:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2093. #define lookup_channel(x, y, z) ((ChannelList *) (global[LOOKUP_CHANNEL]((char
  2094. ^
  2095. commands2.c:2730:13: note: in expansion of macro ‘lookup_channel’
  2096. chan1 = lookup_channel(t, from_server, 0);
  2097. ^
  2098. /home/tabl/BitchX/include/modval.h:436:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2099. #define find_nicklist_in_channellist(x, y, z) ((NickList *) (global[FIND_NICKLI
  2100. ^
  2101. commands2.c:2733:16: note: in expansion of macro ‘find_nicklist_in_channellist’
  2102. if (!(u1 = find_nicklist_in_channellist(u->nick, chan1, 0)))
  2103. ^
  2104. commands2.c: In function ‘send_kline’:
  2105. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2106. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  2107. ^
  2108. commands2.c:2751:20: note: in expansion of macro ‘next_arg’
  2109. while ((target = next_arg(args, &args)))
  2110. ^
  2111. /home/tabl/BitchX/include/modval.h:200:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2112. #define next_in_comma_list(x, y) ((char *)(global[NEXT_IN_COMMA_LIST]((char *)x
  2113. ^
  2114. commands2.c:2753:16: note: in expansion of macro ‘next_in_comma_list’
  2115. while ((t = next_in_comma_list(target, &target)))
  2116. ^
  2117. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2118. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  2119. ^
  2120. commands2.c:2761:8: note: in expansion of macro ‘next_arg’
  2121. dur = next_arg(args, &args);
  2122. ^
  2123. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2124. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  2125. ^
  2126. commands2.c:2774:13: note: in expansion of macro ‘next_arg’
  2127. target = next_arg(args, &args);
  2128. ^
  2129. /home/tabl/BitchX/include/modval.h:200:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2130. #define next_in_comma_list(x, y) ((char *)(global[NEXT_IN_COMMA_LIST]((char *)x
  2131. ^
  2132. commands2.c:2787:14: note: in expansion of macro ‘next_in_comma_list’
  2133. while ((t = next_in_comma_list(target, &target)))
  2134. ^
  2135. commands2.c: In function ‘handle_reconnect’:
  2136. commands2.c:2506:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
  2137. write(n, &parm, sizeof(struct param));
  2138. ^
  2139. commands2.c: In function ‘create_ipc_socket’:
  2140. commands2.c:2581:4: warning: ignoring return value of ‘chown’, declared with attribute warn_unused_result [-Wunused-result]
  2141. chown(buf, getuid(), getgid());
  2142. ^
  2143. commands2.c:2583:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
  2144. write(u, connect_cookie, strlen(connect_cookie));
  2145. ^
  2146. commands2.c:2584:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
  2147. write(u, "\n", 1);
  2148. ^
  2149. commands2.c: In function ‘close_detach_fd’:
  2150. commands2.c:2634:2: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
  2151. freopen("/dev/null", "r", stdin);
  2152. ^
  2153. commands2.c:2635:2: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
  2154. freopen("/dev/null", "w", stdout);
  2155. ^
  2156. commands2.c:2636:2: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
  2157. freopen("/dev/null", "w", stderr);
  2158. ^
  2159. In file included from /usr/include/fcntl.h:289:0,
  2160. from /usr/include/x86_64-linux-gnu/sys/fcntl.h:1,
  2161. from /home/tabl/BitchX/include/irc.h:81,
  2162. from commands2.c:8:
  2163. In function ‘open’,
  2164. inlined from ‘create_ipc_socket’ at commands2.c:2578:6:
  2165. /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
  2166. __open_missing_mode ();
  2167. ^
  2168. Makefile:185: recipe for target 'commands2.o' failed
  2169. make[1]: *** [commands2.o] Error 1
  2170. make[1]: Leaving directory '/home/tabl/BitchX/source'
  2171. Makefile:201: recipe for target 'BitchX' failed
  2172. make: *** [BitchX] Error 2
  2173. tabl@tabl-15U340-L-BK35P1:~/BitchX$ make INSTALL
  2174. make: Nothing to be done for 'INSTALL'.
  2175. tabl@tabl-15U340-L-BK35P1:~/BitchX$ make install
  2176. cd source \
  2177. && 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
  2178. make[1]: Entering directory '/home/tabl/BitchX/source'
  2179. gcc -I. -I/home/tabl/BitchX/include -I../include -I. -I./include -g -O2 -Wall -c commands2.c
  2180. In file included from commands2.c:83:0:
  2181. commands2.c: In function ‘nwhois’:
  2182. /home/tabl/BitchX/include/modval.h:549:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2183. #define get_server_channels(x) ((ChannelList *) (global[GET_SERVER_CHANNELS]((i
  2184. ^
  2185. commands2.c:118:14: note: in expansion of macro ‘get_server_channels’
  2186. if (!(tmp = get_server_channels(server)))
  2187. ^
  2188. /home/tabl/BitchX/include/modval.h:191:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2189. #define m_strdup(x) ((char *)(global[M_STRDUP]((char *)x, MODULENAME, __FILE__,
  2190. ^
  2191. commands2.c:125:13: note: in expansion of macro ‘m_strdup’
  2192. t = arg = m_strdup(args);
  2193. ^
  2194. /home/tabl/BitchX/include/modval.h:341:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2195. #define get_current_channel_by_refnum(x) ((char *) (global[GET_CURRENT_CHANNEL_
  2196. ^
  2197. commands2.c:129:10: note: in expansion of macro ‘get_current_channel_by_refnum’
  2198. nick = get_current_channel_by_refnum(0);
  2199. ^
  2200. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2201. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  2202. ^
  2203. commands2.c:132:24: note: in expansion of macro ‘next_arg’
  2204. while (all || (nick = next_arg(arg, &arg)))
  2205. ^
  2206. /home/tabl/BitchX/include/modval.h:438:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2207. #define next_nicklist(x, y) ((NickList *) (global[NEXT_NICKLIST] ((ChannelList
  2208. ^
  2209. commands2.c:141:16: note: in expansion of macro ‘next_nicklist’
  2210. for (user = next_nicklist(tmp, NULL); user; user = next_nicklist(tmp, user))
  2211. ^
  2212. /home/tabl/BitchX/include/modval.h:438:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2213. #define next_nicklist(x, y) ((NickList *) (global[NEXT_NICKLIST] ((ChannelList
  2214. ^
  2215. commands2.c:141:55: note: in expansion of macro ‘next_nicklist’
  2216. for (user = next_nicklist(tmp, NULL); user; user = next_nicklist(tmp, user))
  2217. ^
  2218. In file included from commands2.c:83:0:
  2219. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2220. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  2221. ^
  2222. commands2.c:183:2: note: in expansion of macro ‘new_free’
  2223. new_free(&t);
  2224. ^
  2225. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  2226. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  2227. ^
  2228. commands2.c:183:2: note: in expansion of macro ‘new_free’
  2229. new_free(&t);
  2230. ^
  2231. In file included from commands2.c:83:0:
  2232. commands2.c: In function ‘add_ban_word’:
  2233. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2234. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  2235. ^
  2236. commands2.c:204:10: note: in expansion of macro ‘next_arg’
  2237. chan = next_arg(args, &args);
  2238. ^
  2239. /home/tabl/BitchX/include/modval.h:226:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2240. #define find_in_list(x, y, z) ((List *) (global[FIND_IN_LIST]((List **)x, (char
  2241. ^
  2242. commands2.c:209:26: note: in expansion of macro ‘find_in_list’
  2243. new = (WordKickList *)find_in_list((List **)&ban_words, args, 0);
  2244. ^
  2245. In file included from commands2.c:83:0:
  2246. /home/tabl/BitchX/include/modval.h:111:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2247. #define new_malloc(x) ((void *)(global[NEW_MALLOC]((x),MODULENAME, __FILE__,__L
  2248. ^
  2249. commands2.c:212:28: note: in expansion of macro ‘new_malloc’
  2250. new = (WordKickList *) new_malloc(sizeof(WordKickList));
  2251. ^
  2252. /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2253. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  2254. ^
  2255. commands2.c:213:5: note: in expansion of macro ‘malloc_strcpy’
  2256. malloc_strcpy(&new->channel, chan);
  2257. ^
  2258. /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
  2259. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  2260. ^
  2261. commands2.c:213:5: note: in expansion of macro ‘malloc_strcpy’
  2262. malloc_strcpy(&new->channel, chan);
  2263. ^
  2264. /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2265. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  2266. ^
  2267. commands2.c:214:5: note: in expansion of macro ‘malloc_strcpy’
  2268. malloc_strcpy(&new->string, args);
  2269. ^
  2270. /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
  2271. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  2272. ^
  2273. commands2.c:214:5: note: in expansion of macro ‘malloc_strcpy’
  2274. malloc_strcpy(&new->string, args);
  2275. ^
  2276. /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2277. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  2278. ^
  2279. commands2.c:222:4: note: in expansion of macro ‘malloc_strcpy’
  2280. malloc_strcpy(&word, args);
  2281. ^
  2282. /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
  2283. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  2284. ^
  2285. commands2.c:222:4: note: in expansion of macro ‘malloc_strcpy’
  2286. malloc_strcpy(&word, args);
  2287. ^
  2288. In file included from commands2.c:83:0:
  2289. /home/tabl/BitchX/include/modval.h:230:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2290. #define removewild_from_list(x, y) ((List *) (global[REMOVEWILD_FROM_LIST]((Lis
  2291. ^
  2292. commands2.c:223:35: note: in expansion of macro ‘removewild_from_list’
  2293. while ((new = (WordKickList *) removewild_from_list((List **)&ban_words, wor
  2294. ^
  2295. In file included from commands2.c:83:0:
  2296. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2297. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  2298. ^
  2299. commands2.c:226:5: note: in expansion of macro ‘new_free’
  2300. new_free(&new->channel);
  2301. ^
  2302. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  2303. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  2304. ^
  2305. commands2.c:226:5: note: in expansion of macro ‘new_free’
  2306. new_free(&new->channel);
  2307. ^
  2308. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2309. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  2310. ^
  2311. commands2.c:227:5: note: in expansion of macro ‘new_free’
  2312. new_free(&new->string);
  2313. ^
  2314. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  2315. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  2316. ^
  2317. commands2.c:227:5: note: in expansion of macro ‘new_free’
  2318. new_free(&new->string);
  2319. ^
  2320. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2321. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  2322. ^
  2323. commands2.c:228:5: note: in expansion of macro ‘new_free’
  2324. new_free((char **)&new);
  2325. ^
  2326. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  2327. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  2328. ^
  2329. commands2.c:228:5: note: in expansion of macro ‘new_free’
  2330. new_free((char **)&new);
  2331. ^
  2332. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2333. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  2334. ^
  2335. commands2.c:233:4: note: in expansion of macro ‘new_free’
  2336. new_free(&word);
  2337. ^
  2338. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  2339. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  2340. ^
  2341. commands2.c:233:4: note: in expansion of macro ‘new_free’
  2342. new_free(&word);
  2343. ^
  2344. In file included from commands2.c:83:0:
  2345. commands2.c: In function ‘check_mode_lock’:
  2346. /home/tabl/BitchX/include/modval.h:433:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2347. #define lookup_channel(x, y, z) ((ChannelList *) (global[LOOKUP_CHANNEL]((char
  2348. ^
  2349. commands2.c:310:14: note: in expansion of macro ‘lookup_channel’
  2350. if ((chan = lookup_channel(channel, server, 0)) && chan->modelock_key)
  2351. ^
  2352. In file included from commands2.c:83:0:
  2353. /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2354. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  2355. ^
  2356. commands2.c:321:3: note: in expansion of macro ‘malloc_strcpy’
  2357. malloc_strcpy(&modelock, chan->modelock_key);
  2358. ^
  2359. /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
  2360. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  2361. ^
  2362. commands2.c:321:3: note: in expansion of macro ‘malloc_strcpy’
  2363. malloc_strcpy(&modelock, chan->modelock_key);
  2364. ^
  2365. /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2366. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  2367. ^
  2368. commands2.c:322:3: note: in expansion of macro ‘malloc_strcpy’
  2369. malloc_strcpy(&new_mode_list, mode_list);
  2370. ^
  2371. /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
  2372. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  2373. ^
  2374. commands2.c:322:3: note: in expansion of macro ‘malloc_strcpy’
  2375. malloc_strcpy(&new_mode_list, mode_list);
  2376. ^
  2377. In file included from commands2.c:83:0:
  2378. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2379. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  2380. ^
  2381. commands2.c:325:19: note: in expansion of macro ‘next_arg’
  2382. new_mode_list = next_arg(new_mode_list, &args1);
  2383. ^
  2384. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2385. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  2386. ^
  2387. commands2.c:326:14: note: in expansion of macro ‘next_arg’
  2388. modelock = next_arg(modelock, &args);
  2389. ^
  2390. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2391. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  2392. ^
  2393. commands2.c:345:14: note: in expansion of macro ‘next_arg’
  2394. key = next_arg(args1, &args1);
  2395. ^
  2396. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2397. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  2398. ^
  2399. commands2.c:351:14: note: in expansion of macro ‘next_arg’
  2400. key = next_arg(args, &args);
  2401. ^
  2402. In file included from commands2.c:83:0:
  2403. /home/tabl/BitchX/include/modval.h:167:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2404. #define ltoa(x) ((char *) (global[LTOA]((long)x)))
  2405. ^
  2406. commands2.c:380:24: note: in expansion of macro ‘ltoa’
  2407. strcat(buffer, ltoa(limit));
  2408. ^
  2409. commands2.c:409:26: warning: the address of ‘buffer’ will always evaluate as ‘true’ [-Waddress]
  2410. if (chan && chan->chop && buffer)
  2411. ^
  2412. In file included from commands2.c:83:0:
  2413. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2414. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  2415. ^
  2416. commands2.c:411:3: note: in expansion of macro ‘new_free’
  2417. new_free(&save);
  2418. ^
  2419. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  2420. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  2421. ^
  2422. commands2.c:411:3: note: in expansion of macro ‘new_free’
  2423. new_free(&save);
  2424. ^
  2425. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2426. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  2427. ^
  2428. commands2.c:412:3: note: in expansion of macro ‘new_free’
  2429. new_free(&save1);
  2430. ^
  2431. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  2432. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  2433. ^
  2434. commands2.c:412:3: note: in expansion of macro ‘new_free’
  2435. new_free(&save1);
  2436. ^
  2437. In file included from commands2.c:83:0:
  2438. commands2.c: In function ‘mode_lock’:
  2439. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2440. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  2441. ^
  2442. commands2.c:434:7: note: in expansion of macro ‘next_arg’
  2443. t = next_arg(args, &args);
  2444. ^
  2445. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2446. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  2447. ^
  2448. commands2.c:438:8: note: in expansion of macro ‘next_arg’
  2449. t = next_arg(args, &args);
  2450. ^
  2451. /home/tabl/BitchX/include/modval.h:341:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2452. #define get_current_channel_by_refnum(x) ((char *) (global[GET_CURRENT_CHANNEL_
  2453. ^
  2454. commands2.c:440:14: note: in expansion of macro ‘get_current_channel_by_refnum’
  2455. channel = get_current_channel_by_refnum(0);
  2456. ^
  2457. /home/tabl/BitchX/include/modval.h:433:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2458. #define lookup_channel(x, y, z) ((ChannelList *) (global[LOOKUP_CHANNEL]((char
  2459. ^
  2460. commands2.c:446:15: note: in expansion of macro ‘lookup_channel’
  2461. if ((chan = lookup_channel(channel, from_server, 0)))
  2462. ^
  2463. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2464. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  2465. ^
  2466. commands2.c:497:14: note: in expansion of macro ‘next_arg’
  2467. key = next_arg(args, &args);
  2468. ^
  2469. In file included from commands2.c:83:0:
  2470. /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2471. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  2472. ^
  2473. commands2.c:524:4: note: in expansion of macro ‘malloc_strcpy’
  2474. malloc_strcpy(&buffer, valid_mode);
  2475. ^
  2476. /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
  2477. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  2478. ^
  2479. commands2.c:524:4: note: in expansion of macro ‘malloc_strcpy’
  2480. malloc_strcpy(&buffer, valid_mode);
  2481. ^
  2482. /home/tabl/BitchX/include/modval.h:115:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2483. #define malloc_strcat(x, y) ((char *)(global[MALLOC_STRCAT]((char **)x, (char *
  2484. ^
  2485. commands2.c:527:5: note: in expansion of macro ‘malloc_strcat’
  2486. malloc_strcat(&buffer, space);
  2487. ^
  2488. /home/tabl/BitchX/include/modval.h:115:30: warning: value computed is not used [-Wunused-value]
  2489. #define malloc_strcat(x, y) ((char *)(global[MALLOC_STRCAT]((char **)x, (char *
  2490. ^
  2491. commands2.c:527:5: note: in expansion of macro ‘malloc_strcat’
  2492. malloc_strcat(&buffer, space);
  2493. ^
  2494. /home/tabl/BitchX/include/modval.h:115:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2495. #define malloc_strcat(x, y) ((char *)(global[MALLOC_STRCAT]((char **)x, (char *
  2496. ^
  2497. commands2.c:528:5: note: in expansion of macro ‘malloc_strcat’
  2498. malloc_strcat(&buffer, key);
  2499. ^
  2500. /home/tabl/BitchX/include/modval.h:115:30: warning: value computed is not used [-Wunused-value]
  2501. #define malloc_strcat(x, y) ((char *)(global[MALLOC_STRCAT]((char **)x, (char *
  2502. ^
  2503. commands2.c:528:5: note: in expansion of macro ‘malloc_strcat’
  2504. malloc_strcat(&buffer, key);
  2505. ^
  2506. /home/tabl/BitchX/include/modval.h:115:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2507. #define malloc_strcat(x, y) ((char *)(global[MALLOC_STRCAT]((char **)x, (char *
  2508. ^
  2509. commands2.c:532:5: note: in expansion of macro ‘malloc_strcat’
  2510. malloc_strcat(&buffer, space);
  2511. ^
  2512. /home/tabl/BitchX/include/modval.h:115:30: warning: value computed is not used [-Wunused-value]
  2513. #define malloc_strcat(x, y) ((char *)(global[MALLOC_STRCAT]((char **)x, (char *
  2514. ^
  2515. commands2.c:532:5: note: in expansion of macro ‘malloc_strcat’
  2516. malloc_strcat(&buffer, space);
  2517. ^
  2518. /home/tabl/BitchX/include/modval.h:167:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2519. #define ltoa(x) ((char *) (global[LTOA]((long)x)))
  2520. ^
  2521. /home/tabl/BitchX/include/modval.h:115:81: note: in definition of macro ‘malloc_strcat’
  2522. oc_strcat(x, y) ((char *)(global[MALLOC_STRCAT]((char **)x, (char *)y, MODULENA
  2523. ^
  2524. commands2.c:533:28: note: in expansion of macro ‘ltoa’
  2525. malloc_strcat(&buffer, ltoa(limit));
  2526. ^
  2527. /home/tabl/BitchX/include/modval.h:115:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2528. #define malloc_strcat(x, y) ((char *)(global[MALLOC_STRCAT]((char **)x, (char *
  2529. ^
  2530. commands2.c:533:5: note: in expansion of macro ‘malloc_strcat’
  2531. malloc_strcat(&buffer, ltoa(limit));
  2532. ^
  2533. /home/tabl/BitchX/include/modval.h:115:30: warning: value computed is not used [-Wunused-value]
  2534. #define malloc_strcat(x, y) ((char *)(global[MALLOC_STRCAT]((char **)x, (char *
  2535. ^
  2536. commands2.c:533:5: note: in expansion of macro ‘malloc_strcat’
  2537. malloc_strcat(&buffer, ltoa(limit));
  2538. ^
  2539. /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2540. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  2541. ^
  2542. commands2.c:537:5: note: in expansion of macro ‘malloc_strcpy’
  2543. malloc_strcpy(&chan->modelock_key, buffer);
  2544. ^
  2545. /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
  2546. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  2547. ^
  2548. commands2.c:537:5: note: in expansion of macro ‘malloc_strcpy’
  2549. malloc_strcpy(&chan->modelock_key, buffer);
  2550. ^
  2551. In file included from commands2.c:83:0:
  2552. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2553. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  2554. ^
  2555. commands2.c:549:7: note: in expansion of macro ‘next_arg’
  2556. t = next_arg(args, &args);
  2557. ^
  2558. /home/tabl/BitchX/include/modval.h:433:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2559. #define lookup_channel(x, y, z) ((ChannelList *) (global[LOOKUP_CHANNEL]((char
  2560. ^
  2561. commands2.c:552:16: note: in expansion of macro ‘lookup_channel’
  2562. if ((chan = lookup_channel(t, from_server, 0)))
  2563. ^
  2564. In file included from commands2.c:83:0:
  2565. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2566. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  2567. ^
  2568. commands2.c:554:5: note: in expansion of macro ‘new_free’
  2569. new_free(&chan->modelock_key);
  2570. ^
  2571. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  2572. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  2573. ^
  2574. commands2.c:554:5: note: in expansion of macro ‘new_free’
  2575. new_free(&chan->modelock_key);
  2576. ^
  2577. In file included from commands2.c:83:0:
  2578. /home/tabl/BitchX/include/modval.h:549:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2579. #define get_server_channels(x) ((ChannelList *) (global[GET_SERVER_CHANNELS]((i
  2580. ^
  2581. commands2.c:562:16: note: in expansion of macro ‘get_server_channels’
  2582. for (chan = get_server_channels(from_server); chan; chan = chan->next)
  2583. ^
  2584. In file included from commands2.c:83:0:
  2585. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2586. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  2587. ^
  2588. commands2.c:564:5: note: in expansion of macro ‘new_free’
  2589. new_free(&chan->modelock_key);
  2590. ^
  2591. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  2592. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  2593. ^
  2594. commands2.c:564:5: note: in expansion of macro ‘new_free’
  2595. new_free(&chan->modelock_key);
  2596. ^
  2597. In file included from commands2.c:83:0:
  2598. /home/tabl/BitchX/include/modval.h:549:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2599. #define get_server_channels(x) ((ChannelList *) (global[GET_SERVER_CHANNELS]((i
  2600. ^
  2601. commands2.c:574:16: note: in expansion of macro ‘get_server_channels’
  2602. for (chan = get_server_channels(from_server); chan; chan = chan->next)
  2603. ^
  2604. commands2.c: In function ‘randomnick’:
  2605. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2606. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  2607. ^
  2608. commands2.c:587:14: note: in expansion of macro ‘next_arg’
  2609. while ((p = next_arg(args, &args)))
  2610. ^
  2611. /home/tabl/BitchX/include/modval.h:270:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2612. #define random_str(x, y) ((char *) (global[RANDOM_STR]((int)x, (int)y)))
  2613. ^
  2614. commands2.c:601:59: note: in expansion of macro ‘random_str’
  2615. send_to_server("NICK %s%s", prefix?prefix:empty_string, random_str(3,9-len));
  2616. ^
  2617. commands2.c: In function ‘topic_lock’:
  2618. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2619. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  2620. ^
  2621. commands2.c:614:6: note: in expansion of macro ‘next_arg’
  2622. t = next_arg(args, &args);
  2623. ^
  2624. /home/tabl/BitchX/include/modval.h:411:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2625. #define make_channel(x) ((char *) (global[MAKE_CHANNEL]((char *)x)))
  2626. ^
  2627. commands2.c:617:13: note: in expansion of macro ‘make_channel’
  2628. channel = make_channel(t);
  2629. ^
  2630. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2631. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  2632. ^
  2633. commands2.c:620:7: note: in expansion of macro ‘next_arg’
  2634. t = next_arg(args, &args);
  2635. ^
  2636. /home/tabl/BitchX/include/modval.h:341:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2637. #define get_current_channel_by_refnum(x) ((char *) (global[GET_CURRENT_CHANNEL_
  2638. ^
  2639. commands2.c:622:13: note: in expansion of macro ‘get_current_channel_by_refnum’
  2640. channel = get_current_channel_by_refnum(0);
  2641. ^
  2642. /home/tabl/BitchX/include/modval.h:433:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2643. #define lookup_channel(x, y, z) ((ChannelList *) (global[LOOKUP_CHANNEL]((char
  2644. ^
  2645. commands2.c:624:14: note: in expansion of macro ‘lookup_channel’
  2646. if ((chan = lookup_channel(channel, from_server, 0)))
  2647. ^
  2648. In file included from commands2.c:83:0:
  2649. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2650. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  2651. ^
  2652. commands2.c:632:55: note: in expansion of macro ‘on_off’
  2653. bitchsay("Topic lock for [%s] - %s", chan->channel, on_off(chan->topic_lock))
  2654. ^
  2655. In file included from commands2.c:83:0:
  2656. commands2.c: In function ‘sping’:
  2657. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2658. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  2659. ^
  2660. commands2.c:660:19: note: in expansion of macro ‘next_arg’
  2661. while ((sname = next_arg(args, &args)))
  2662. ^
  2663. /home/tabl/BitchX/include/modval.h:533:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2664. #define get_server_itsname(x) ((char *) (global[GET_SERVER_ITSNAME]((int)x)))
  2665. ^
  2666. commands2.c:663:19: note: in expansion of macro ‘get_server_itsname’
  2667. if (!(sname = get_server_itsname(from_server)))
  2668. ^
  2669. /home/tabl/BitchX/include/modval.h:532:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2670. #define get_server_name(x) ((char *) (global[GET_SERVER_NAME]((int)x)))
  2671. ^
  2672. commands2.c:664:14: note: in expansion of macro ‘get_server_name’
  2673. sname = get_server_name(from_server);
  2674. ^
  2675. In file included from commands2.c:83:0:
  2676. /home/tabl/BitchX/include/modval.h:111:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2677. #define new_malloc(x) ((void *)(global[NEW_MALLOC]((x),MODULENAME, __FILE__,__L
  2678. ^
  2679. commands2.c:670:10: note: in expansion of macro ‘new_malloc’
  2680. tmp = new_malloc(sizeof(Sping));
  2681. ^
  2682. In file included from commands2.c:83:0:
  2683. /home/tabl/BitchX/include/modval.h:191:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2684. #define m_strdup(x) ((char *)(global[M_STRDUP]((char *)x, MODULENAME, __FILE__,
  2685. ^
  2686. commands2.c:671:17: note: in expansion of macro ‘m_strdup’
  2687. tmp->sname = m_strdup(sname);
  2688. ^
  2689. In file included from commands2.c:83:0:
  2690. /home/tabl/BitchX/include/modval.h:532:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2691. #define get_server_name(x) ((char *) (global[GET_SERVER_NAME]((int)x)))
  2692. ^
  2693. /home/tabl/BitchX/include/modval.h:125:101: note: in definition of macro ‘my_stricmp’
  2694. ((int)(global[MY_STRICMP]((const unsigned char *)x, (const unsigned char *)y)))
  2695. ^
  2696. commands2.c:679:27: note: in expansion of macro ‘get_server_name’
  2697. if (!my_stricmp(sname, get_server_name(from_server)) || !my_stricmp(sname, g
  2698. ^
  2699. /home/tabl/BitchX/include/modval.h:533:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2700. #define get_server_itsname(x) ((char *) (global[GET_SERVER_ITSNAME]((int)x)))
  2701. ^
  2702. /home/tabl/BitchX/include/modval.h:125:101: note: in definition of macro ‘my_stricmp’
  2703. ((int)(global[MY_STRICMP]((const unsigned char *)x, (const unsigned char *)y)))
  2704. ^
  2705. commands2.c:679:79: note: in expansion of macro ‘get_server_itsname’
  2706. _stricmp(sname, get_server_name(from_server)) || !my_stricmp(sname, get_server_
  2707. ^
  2708. In file included from commands2.c:83:0:
  2709. /home/tabl/BitchX/include/modval.h:533:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2710. #define get_server_itsname(x) ((char *) (global[GET_SERVER_ITSNAME]((int)x)))
  2711. ^
  2712. commands2.c:687:6: note: in expansion of macro ‘get_server_itsname’
  2713. get_server_itsname(from_server) ?
  2714. ^
  2715. /home/tabl/BitchX/include/modval.h:533:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2716. #define get_server_itsname(x) ((char *) (global[GET_SERVER_ITSNAME]((int)x)))
  2717. ^
  2718. commands2.c:688:6: note: in expansion of macro ‘get_server_itsname’
  2719. get_server_itsname(from_server) :
  2720. ^
  2721. /home/tabl/BitchX/include/modval.h:532:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2722. #define get_server_name(x) ((char *) (global[GET_SERVER_NAME]((int)x)))
  2723. ^
  2724. commands2.c:689:6: note: in expansion of macro ‘get_server_name’
  2725. get_server_name(from_server), sname);
  2726. ^
  2727. In file included from commands2.c:83:0:
  2728. commands2.c: In function ‘tog_fprot’:
  2729. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2730. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  2731. ^
  2732. commands2.c:750:46: note: in expansion of macro ‘on_off’
  2733. bitchsay("Toggled flood protection - [%s]", on_off(here));
  2734. ^
  2735. commands2.c: In function ‘do_toggle’:
  2736. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2737. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  2738. ^
  2739. commands2.c:777:168: note: in expansion of macro ‘on_off’
  2740. tion %K[%W$[-3]1%K] %Cbeep%c %K[%W$[-3]2%K]", "%s %s %s", on_off(get_
  2741. ^
  2742. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2743. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  2744. ^
  2745. commands2.c:777:208: note: in expansion of macro ‘on_off’
  2746. K[%W$[-3]2%K]", "%s %s %s", on_off(get_int_var(AUTO_NSLOOKUP_VAR)), on_off(get_
  2747. ^
  2748. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2749. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  2750. ^
  2751. commands2.c:777:256: note: in expansion of macro ‘on_off’
  2752. UTO_NSLOOKUP_VAR)), on_off(get_int_var(CTCP_FLOOD_PROTECTION_VAR)), on_off(get_
  2753. ^
  2754. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2755. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  2756. ^
  2757. commands2.c:778:168: note: in expansion of macro ‘on_off’
  2758. %K[%W$[-3]1%K] %Ckickf%clood %K[%W$[-3]2%K]", "%s %s %s", on_off(get_
  2759. ^
  2760. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2761. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  2762. ^
  2763. commands2.c:778:203: note: in expansion of macro ‘on_off’
  2764. d %K[%W$[-3]2%K]", "%s %s %s", on_off(get_int_var(PUBFLOOD_VAR)), on_off(get_
  2765. ^
  2766. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2767. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  2768. ^
  2769. commands2.c:778:246: note: in expansion of macro ‘on_off’
  2770. _int_var(PUBFLOOD_VAR)), on_off(get_int_var(FLOOD_PROTECTION_VAR)), on_off(get_
  2771. ^
  2772. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2773. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  2774. ^
  2775. commands2.c:779:168: note: in expansion of macro ‘on_off’
  2776. %K[%W$[-3]1%K] %Cmsg%clog %K[%W$[-3]2%K]", "%s %s %s", on_off(get_
  2777. ^
  2778. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2779. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  2780. ^
  2781. commands2.c:779:206: note: in expansion of macro ‘on_off’
  2782. %K[%W$[-3]2%K]", "%s %s %s", on_off(get_int_var(DCC_AUTOGET_VAR)), on_off(get_
  2783. ^
  2784. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2785. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  2786. ^
  2787. commands2.c:779:243: note: in expansion of macro ‘on_off’
  2788. get_int_var(DCC_AUTOGET_VAR)), on_off(get_int_var(FLOOD_KICK_VAR)), on_off(get_
  2789. ^
  2790. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2791. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  2792. ^
  2793. commands2.c:780:168: note: in expansion of macro ‘on_off’
  2794. %K[%W$[-3]1%K] %Cjoin%cflood %K[%W$[-3]2%K]", "%s %s %s", on_off(get_
  2795. ^
  2796. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2797. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  2798. ^
  2799. commands2.c:780:200: note: in expansion of macro ‘on_off’
  2800. lood %K[%W$[-3]2%K]", "%s %s %s", on_off(get_int_var(LLOOK_VAR)), on_off(get_
  2801. ^
  2802. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2803. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  2804. ^
  2805. commands2.c:780:236: note: in expansion of macro ‘on_off’
  2806. on_off(get_int_var(LLOOK_VAR)), on_off(get_int_var(DEOPFLOOD_VAR)), on_off(get_
  2807. ^
  2808. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2809. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  2810. ^
  2811. commands2.c:781:168: note: in expansion of macro ‘on_off’
  2812. %K[%W$[-3]1%K] %Cnickfl%cood %K[%W$[-3]2%K]", "%s %s %s", on_off(get_
  2813. ^
  2814. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2815. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  2816. ^
  2817. commands2.c:781:206: note: in expansion of macro ‘on_off’
  2818. %K[%W$[-3]2%K]", "%s %s %s", on_off(get_int_var(AUTO_WHOWAS_VAR)), on_off(get_
  2819. ^
  2820. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2821. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  2822. ^
  2823. commands2.c:781:245: note: in expansion of macro ‘on_off’
  2824. t_int_var(AUTO_WHOWAS_VAR)), on_off(get_int_var(CTCP_VERBOSE_VAR)), on_off(get_
  2825. ^
  2826. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2827. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  2828. ^
  2829. commands2.c:782:168: note: in expansion of macro ‘on_off’
  2830. %K[%W$[-3]1%K] %Cshit%clist %K[%W$[-3]2%K]", "%s %s %s", on_off(get_
  2831. ^
  2832. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2833. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  2834. ^
  2835. commands2.c:782:200: note: in expansion of macro ‘on_off’
  2836. ist %K[%W$[-3]2%K]", "%s %s %s", on_off(get_int_var(CLOAK_VAR)), on_off(get_
  2837. ^
  2838. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2839. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  2840. ^
  2841. commands2.c:782:229: note: in expansion of macro ‘on_off’
  2842. s %s", on_off(get_int_var(CLOAK_VAR)), on_off(get_int_var(OV_VAR)), on_off(get_
  2843. ^
  2844. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2845. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  2846. ^
  2847. commands2.c:783:168: note: in expansion of macro ‘on_off’
  2848. %K[%W$[-3]1%K] %Cuser%clist %K[%W$[-3]2%K]", "%s %s %s", on_off(get_
  2849. ^
  2850. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2851. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  2852. ^
  2853. commands2.c:783:203: note: in expansion of macro ‘on_off’
  2854. %K[%W$[-3]2%K]", "%s %s %s", on_off(get_int_var(KICK_OPS_VAR)), on_off(get_
  2855. ^
  2856. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2857. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  2858. ^
  2859. commands2.c:783:240: note: in expansion of macro ‘on_off’
  2860. ff(get_int_var(KICK_OPS_VAR)), on_off(get_int_var(ANNOY_KICK_VAR)), on_off(get_
  2861. ^
  2862. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2863. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  2864. ^
  2865. commands2.c:784:168: note: in expansion of macro ‘on_off’
  2866. %K[%W$[-3]1%K] %Cauto_rej%coin %K[%W$[-3]2%K]", "%s %s %s", on_off(get_
  2867. ^
  2868. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2869. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  2870. ^
  2871. commands2.c:784:201: note: in expansion of macro ‘on_off’
  2872. %coin %K[%W$[-3]2%K]", "%s %s %s", on_off(get_int_var(HACKING_VAR)),on_off(get_
  2873. ^
  2874. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2875. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  2876. ^
  2877. commands2.c:784:243: note: in expansion of macro ‘on_off’
  2878. get_int_var(HACKING_VAR)),on_off(get_int_var(NICK_COMPLETION_VAR)), on_off((get
  2879. ^
  2880. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2881. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  2882. ^
  2883. commands2.c:785:166: note: in expansion of macro ‘on_off’
  2884. %K[%W$[-3]1%K] %Cauto_rec%conn %K[%W$[-3]2%K]", "%s %s %s", on_off((get
  2885. ^
  2886. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2887. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  2888. ^
  2889. commands2.c:785:201: note: in expansion of macro ‘on_off’
  2890. onn %K[%W$[-3]2%K]", "%s %s %s", on_off((get_int_var(AOP_VAR)?1:0)),on_off((get
  2891. ^
  2892. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2893. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  2894. ^
  2895. commands2.c:785:239: note: in expansion of macro ‘on_off’
  2896. f((get_int_var(AOP_VAR)?1:0)),on_off((get_int_var(AUTO_AWAY_VAR))), on_off(get_
  2897. ^
  2898. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2899. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  2900. ^
  2901. commands2.c:786:164: note: in expansion of macro ‘on_off’
  2902. %K[%W$[-3]1%K] %Ckick_if_ban %K[%W$[-3]2%K]", "%s %s %s", on_off((get
  2903. ^
  2904. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2905. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  2906. ^
  2907. commands2.c:786:197: note: in expansion of macro ‘on_off’
  2908. f_ban %K[%W$[-3]2%K]", "%s %s %s", on_off((get_int_var(BITCH_VAR))),on_off((get
  2909. ^
  2910. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2911. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  2912. ^
  2913. commands2.c:786:234: note: in expansion of macro ‘on_off’
  2914. _off((get_int_var(BITCH_VAR))),on_off((get_int_var(DCC_FAST_VAR))), on_off(get_
  2915. ^
  2916. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2917. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  2918. ^
  2919. commands2.c:787:166: note: in expansion of macro ‘on_off’
  2920. %K[%W$[-3]1%K] %Chttp%c_grab %K[%W$[-3]2%K]", "%s %s %s", on_off((get
  2921. ^
  2922. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2923. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  2924. ^
  2925. commands2.c:787:202: note: in expansion of macro ‘on_off’
  2926. %K[%W$[-3]2%K]", "%s %s %s", on_off((get_int_var(FTP_GRAB_VAR))),on_off((get
  2927. ^
  2928. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2929. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  2930. ^
  2931. commands2.c:787:235: note: in expansion of macro ‘on_off’
  2932. n_off((get_int_var(FTP_GRAB_VAR))),on_off((get_int_var(MIRCS_VAR))),on_off((get
  2933. ^
  2934. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2935. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  2936. ^
  2937. commands2.c:788:164: note: in expansion of macro ‘on_off’
  2938. %K[%W$[-3]1%K] %Clog %K[%W$[-3]2%K]", "%s %s %s", on_off((get
  2939. ^
  2940. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2941. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  2942. ^
  2943. commands2.c:788:204: note: in expansion of macro ‘on_off’
  2944. K[%W$[-3]2%K]", "%s %s %s", on_off((get_int_var(DISPLAY_ANSI_VAR))),on_off((get
  2945. ^
  2946. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2947. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  2948. ^
  2949. commands2.c:788:242: note: in expansion of macro ‘on_off’
  2950. t_int_var(DISPLAY_ANSI_VAR))),on_off((get_int_var(TIMESTAMP_VAR))), on_off((get
  2951. ^
  2952. In file included from commands2.c:83:0:
  2953. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2954. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  2955. ^
  2956. commands2.c:796:16: note: in expansion of macro ‘next_arg’
  2957. while ((arg = next_arg(args, &args)))
  2958. ^
  2959. In file included from commands2.c:83:0:
  2960. /home/tabl/BitchX/include/modval.h:138:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2961. #define upper(x) ((char *) (global[UPPER]((char *)x)))
  2962. ^
  2963. commands2.c:800:3: note: in expansion of macro ‘upper’
  2964. upper(arg);
  2965. ^
  2966. /home/tabl/BitchX/include/modval.h:138:19: warning: value computed is not used [-Wunused-value]
  2967. #define upper(x) ((char *) (global[UPPER]((char *)x)))
  2968. ^
  2969. commands2.c:800:3: note: in expansion of macro ‘upper’
  2970. upper(arg);
  2971. ^
  2972. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2973. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  2974. ^
  2975. commands2.c:945:40: note: in expansion of macro ‘on_off’
  2976. if (do_hook(SET_LIST, "%s %s", arg, on_off(get_int_var(DISPLAY_ANSI_VAR))))
  2977. ^
  2978. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2979. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  2980. ^
  2981. commands2.c:946:92: note: in expansion of macro ‘on_off’
  2982. t_output_format("$G %cToggled %GAnsi Display %K[%W$[-3]0%K]", "%s", on_off(get_
  2983. ^
  2984. In file included from commands2.c:83:0:
  2985. /home/tabl/BitchX/include/modval.h:471:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2986. #define get_string_var(x) ((char *) (global[GET_STRING_VAR]((int)x)))
  2987. ^
  2988. /home/tabl/BitchX/include/modval.h:401:90: note: in definition of macro ‘set_input_prompt’
  2989. mpt(x, y, z) ((void) (global[SET_INPUT_PROMPT]((Window *)x, (char *)y, (int)z))
  2990. ^
  2991. commands2.c:948:37: note: in expansion of macro ‘get_string_var’
  2992. set_input_prompt(current_window, get_string_var(INPUT_PROMPT_VAR), 0);
  2993. ^
  2994. In file included from commands2.c:83:0:
  2995. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  2996. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  2997. ^
  2998. commands2.c:964:40: note: in expansion of macro ‘on_off’
  2999. if (do_hook(SET_LIST, "%s %s", arg, on_off(get_int_var(var))))
  3000. ^
  3001. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3002. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  3003. ^
  3004. commands2.c:965:51: note: in expansion of macro ‘on_off’
  3005. put_it("%s", convert_output_format(str, "%s", on_off(get_int_var(var)) ));
  3006. ^
  3007. commands2.c: In function ‘show_version’:
  3008. /home/tabl/BitchX/include/modval.h:455:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3009. #define fget_string_var(x) ((char *)(global[FGET_STRING_VAR]((int)x)))
  3010. ^
  3011. /home/tabl/BitchX/include/modval.h:114:81: note: in definition of macro ‘malloc_strcpy’
  3012. oc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *)y, MODULENA
  3013. ^
  3014. commands2.c:985:67: note: in expansion of macro ‘fget_string_var’
  3015. malloc_strcpy(&version_buf, stripansicodes(convert_output_format(fget_string_v
  3016. ^
  3017. /home/tabl/BitchX/include/modval.h:259:31: warning: pointer targets in passing argument 1 of ‘stripansicodes’ differ in signedness [-Wpointer-sign]
  3018. #define convert_output_format ((char * (*)())global[CONVERT_OUTPUT_FORMAT])
  3019. ^
  3020. /home/tabl/BitchX/include/modval.h:114:81: note: in definition of macro ‘malloc_strcpy’
  3021. oc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *)y, MODULENA
  3022. ^
  3023. commands2.c:985:45: note: in expansion of macro ‘convert_output_format’
  3024. malloc_strcpy(&version_buf, stripansicodes(convert_output_format(fget_string_v
  3025. ^
  3026. In file included from commands2.c:73:0:
  3027. /home/tabl/BitchX/include/misc.h:74:8: note: expected ‘const unsigned char *’ but argument is of type ‘char *’
  3028. char *stripansicodes (const unsigned char *);
  3029. ^
  3030. In file included from commands2.c:83:0:
  3031. /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3032. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  3033. ^
  3034. commands2.c:985:2: note: in expansion of macro ‘malloc_strcpy’
  3035. malloc_strcpy(&version_buf, stripansicodes(convert_output_format(fget_string_v
  3036. ^
  3037. /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
  3038. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  3039. ^
  3040. commands2.c:985:2: note: in expansion of macro ‘malloc_strcpy’
  3041. malloc_strcpy(&version_buf, stripansicodes(convert_output_format(fget_string_v
  3042. ^
  3043. In file included from commands2.c:83:0:
  3044. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3045. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  3046. ^
  3047. commands2.c:990:10: note: in expansion of macro ‘next_arg’
  3048. nick = next_arg(args, &args);
  3049. ^
  3050. /home/tabl/BitchX/include/modval.h:341:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3051. #define get_current_channel_by_refnum(x) ((char *) (global[GET_CURRENT_CHANNEL_
  3052. ^
  3053. commands2.c:992:10: note: in expansion of macro ‘get_current_channel_by_refnum’
  3054. nick = get_current_channel_by_refnum(0);
  3055. ^
  3056. In file included from commands2.c:83:0:
  3057. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3058. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  3059. ^
  3060. commands2.c:994:2: note: in expansion of macro ‘new_free’
  3061. new_free(&version_buf);
  3062. ^
  3063. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  3064. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  3065. ^
  3066. commands2.c:994:2: note: in expansion of macro ‘new_free’
  3067. new_free(&version_buf);
  3068. ^
  3069. In file included from commands2.c:83:0:
  3070. commands2.c: In function ‘who_user_kill’:
  3071. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3072. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  3073. ^
  3074. commands2.c:1016:16: note: in expansion of macro ‘next_arg’
  3075. server = atol(next_arg(arg, &arg));
  3076. ^
  3077. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3078. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  3079. ^
  3080. commands2.c:1017:13: note: in expansion of macro ‘next_arg’
  3081. nick_arg = next_arg(arg, &arg);
  3082. ^
  3083. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3084. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  3085. ^
  3086. commands2.c:1026:12: note: in expansion of macro ‘next_arg’
  3087. t_nick = next_arg(arg, &arg);
  3088. ^
  3089. commands2.c: In function ‘who_user_killend’:
  3090. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3091. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  3092. ^
  3093. commands2.c:1045:17: note: in expansion of macro ‘next_arg’
  3094. server = atol(next_arg(who_buff, &who_buff));
  3095. ^
  3096. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3097. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  3098. ^
  3099. commands2.c:1046:13: note: in expansion of macro ‘next_arg’
  3100. pattern = next_arg(who_buff, &who_buff);
  3101. ^
  3102. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3103. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  3104. ^
  3105. commands2.c:1047:11: note: in expansion of macro ‘next_arg’
  3106. match = next_arg(who_buff, &who_buff);
  3107. ^
  3108. /home/tabl/BitchX/include/modval.h:200:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3109. #define next_in_comma_list(x, y) ((char *)(global[NEXT_IN_COMMA_LIST]((char *)x
  3110. ^
  3111. commands2.c:1057:19: note: in expansion of macro ‘next_in_comma_list’
  3112. while ((nick = next_in_comma_list(m_buff, &m_buff)))
  3113. ^
  3114. In file included from commands2.c:83:0:
  3115. /home/tabl/BitchX/include/modval.h:119:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3116. #define m_s3cat(x, y, z) ((char *)(global[M_S3CAT]((char **)x, (char *)y, (char
  3117. ^
  3118. commands2.c:1061:5: note: in expansion of macro ‘m_s3cat’
  3119. m_s3cat(&save_buffer, space, nick);
  3120. ^
  3121. /home/tabl/BitchX/include/modval.h:119:27: warning: value computed is not used [-Wunused-value]
  3122. #define m_s3cat(x, y, z) ((char *)(global[M_S3CAT]((char **)x, (char *)y, (char
  3123. ^
  3124. commands2.c:1061:5: note: in expansion of macro ‘m_s3cat’
  3125. m_s3cat(&save_buffer, space, nick);
  3126. ^
  3127. /home/tabl/BitchX/include/modval.h:119:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3128. #define m_s3cat(x, y, z) ((char *)(global[M_S3CAT]((char **)x, (char *)y, (char
  3129. ^
  3130. commands2.c:1066:5: note: in expansion of macro ‘m_s3cat’
  3131. m_s3cat(&buffer, ",", nick);
  3132. ^
  3133. /home/tabl/BitchX/include/modval.h:119:27: warning: value computed is not used [-Wunused-value]
  3134. #define m_s3cat(x, y, z) ((char *)(global[M_S3CAT]((char **)x, (char *)y, (char
  3135. ^
  3136. commands2.c:1066:5: note: in expansion of macro ‘m_s3cat’
  3137. m_s3cat(&buffer, ",", nick);
  3138. ^
  3139. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3140. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  3141. ^
  3142. commands2.c:1071:6: note: in expansion of macro ‘new_free’
  3143. new_free(&buffer);
  3144. ^
  3145. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  3146. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  3147. ^
  3148. commands2.c:1071:6: note: in expansion of macro ‘new_free’
  3149. new_free(&buffer);
  3150. ^
  3151. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3152. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  3153. ^
  3154. commands2.c:1080:4: note: in expansion of macro ‘new_free’
  3155. new_free(&save_buffer);
  3156. ^
  3157. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  3158. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  3159. ^
  3160. commands2.c:1080:4: note: in expansion of macro ‘new_free’
  3161. new_free(&save_buffer);
  3162. ^
  3163. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3164. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  3165. ^
  3166. commands2.c:1081:4: note: in expansion of macro ‘new_free’
  3167. new_free(&buffer);
  3168. ^
  3169. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  3170. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  3171. ^
  3172. commands2.c:1081:4: note: in expansion of macro ‘new_free’
  3173. new_free(&buffer);
  3174. ^
  3175. In file included from commands2.c:83:0:
  3176. commands2.c: In function ‘whokill’:
  3177. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3178. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  3179. ^
  3180. commands2.c:1102:20: note: in expansion of macro ‘next_arg’
  3181. while ((pattern = next_arg(args, &args)))
  3182. ^
  3183. In file included from commands2.c:83:0:
  3184. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3185. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  3186. ^
  3187. commands2.c:1108:3: note: in expansion of macro ‘new_free’
  3188. new_free(&nick_arg);
  3189. ^
  3190. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  3191. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  3192. ^
  3193. commands2.c:1108:3: note: in expansion of macro ‘new_free’
  3194. new_free(&nick_arg);
  3195. ^
  3196. commands2.c: In function ‘trace_handlekill’:
  3197. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3198. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  3199. ^
  3200. commands2.c:1129:3: note: in expansion of macro ‘new_free’
  3201. new_free(&treason);
  3202. ^
  3203. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  3204. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  3205. ^
  3206. commands2.c:1129:3: note: in expansion of macro ‘new_free’
  3207. new_free(&treason);
  3208. ^
  3209. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3210. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  3211. ^
  3212. commands2.c:1130:3: note: in expansion of macro ‘new_free’
  3213. new_free(&tnick_arg);
  3214. ^
  3215. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  3216. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  3217. ^
  3218. commands2.c:1130:3: note: in expansion of macro ‘new_free’
  3219. new_free(&tnick_arg);
  3220. ^
  3221. /home/tabl/BitchX/include/modval.h:531:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3222. #define get_server_nickname(x) ((char *) (global[GET_SERVER_NICKNAME]((int)x)))
  3223. ^
  3224. /home/tabl/BitchX/include/modval.h:125:101: note: in definition of macro ‘my_stricmp’
  3225. ((int)(global[MY_STRICMP]((const unsigned char *)x, (const unsigned char *)y)))
  3226. ^
  3227. commands2.c:1134:24: note: in expansion of macro ‘get_server_nickname’
  3228. if (!my_stricmp(nick, get_server_nickname(from_server)))
  3229. ^
  3230. /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3231. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  3232. ^
  3233. commands2.c:1138:3: note: in expansion of macro ‘malloc_strcpy’
  3234. malloc_strcpy(&treason, get_reason(nick, NULL));
  3235. ^
  3236. /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
  3237. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  3238. ^
  3239. commands2.c:1138:3: note: in expansion of macro ‘malloc_strcpy’
  3240. malloc_strcpy(&treason, get_reason(nick, NULL));
  3241. ^
  3242. commands2.c: In function ‘handle_tracekill’:
  3243. /home/tabl/BitchX/include/modval.h:129:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3244. #define chop(x, n) ((char *) (global[CHOP]((char *)x, (int)n)))
  3245. ^
  3246. commands2.c:1155:2: note: in expansion of macro ‘chop’
  3247. chop(q, 1);
  3248. ^
  3249. /home/tabl/BitchX/include/modval.h:129:21: warning: value computed is not used [-Wunused-value]
  3250. #define chop(x, n) ((char *) (global[CHOP]((char *)x, (int)n)))
  3251. ^
  3252. commands2.c:1155:2: note: in expansion of macro ‘chop’
  3253. chop(q, 1);
  3254. ^
  3255. /home/tabl/BitchX/include/modval.h:531:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3256. #define get_server_nickname(x) ((char *) (global[GET_SERVER_NICKNAME]((int)x)))
  3257. ^
  3258. /home/tabl/BitchX/include/modval.h:125:101: note: in definition of macro ‘my_stricmp’
  3259. ((int)(global[MY_STRICMP]((const unsigned char *)x, (const unsigned char *)y)))
  3260. ^
  3261. commands2.c:1162:23: note: in expansion of macro ‘get_server_nickname’
  3262. if (!my_stricmp(n, get_server_nickname(from_server)))
  3263. ^
  3264. In file included from commands2.c:83:0:
  3265. commands2.c: In function ‘tracekill’:
  3266. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3267. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  3268. ^
  3269. commands2.c:1179:18: note: in expansion of macro ‘next_arg’
  3270. if (!(pattern = next_arg(args, &args)))
  3271. ^
  3272. In file included from commands2.c:83:0:
  3273. /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3274. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  3275. ^
  3276. commands2.c:1182:3: note: in expansion of macro ‘malloc_strcpy’
  3277. malloc_strcpy(&treason, args);
  3278. ^
  3279. /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
  3280. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  3281. ^
  3282. commands2.c:1182:3: note: in expansion of macro ‘malloc_strcpy’
  3283. malloc_strcpy(&treason, args);
  3284. ^
  3285. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3286. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  3287. ^
  3288. commands2.c:1184:3: note: in expansion of macro ‘new_free’
  3289. new_free(&treason);
  3290. ^
  3291. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  3292. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  3293. ^
  3294. commands2.c:1184:3: note: in expansion of macro ‘new_free’
  3295. new_free(&treason);
  3296. ^
  3297. In file included from commands2.c:83:0:
  3298. commands2.c: In function ‘traceserv’:
  3299. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3300. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  3301. ^
  3302. commands2.c:1206:17: note: in expansion of macro ‘next_arg’
  3303. if (!(server = next_arg(args, &args)) ||
  3304. ^
  3305. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3306. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  3307. ^
  3308. commands2.c:1207:15: note: in expansion of macro ‘next_arg’
  3309. !(pattern = next_arg(args, &args)))
  3310. ^
  3311. In file included from commands2.c:83:0:
  3312. /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3313. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  3314. ^
  3315. commands2.c:1210:10: note: in expansion of macro ‘malloc_strcpy’
  3316. malloc_strcpy(&treason, args);
  3317. ^
  3318. /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
  3319. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  3320. ^
  3321. commands2.c:1210:10: note: in expansion of macro ‘malloc_strcpy’
  3322. malloc_strcpy(&treason, args);
  3323. ^
  3324. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3325. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  3326. ^
  3327. commands2.c:1212:3: note: in expansion of macro ‘new_free’
  3328. new_free(&treason);
  3329. ^
  3330. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  3331. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  3332. ^
  3333. commands2.c:1212:3: note: in expansion of macro ‘new_free’
  3334. new_free(&treason);
  3335. ^
  3336. In file included from commands2.c:83:0:
  3337. commands2.c: In function ‘jnw’:
  3338. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3339. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  3340. ^
  3341. commands2.c:1303:17: note: in expansion of macro ‘next_arg’
  3342. if ((channel = next_arg(args, &args)))
  3343. ^
  3344. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3345. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  3346. ^
  3347. commands2.c:1308:20: note: in expansion of macro ‘next_arg’
  3348. if (!(channel = next_arg(args, &args)))
  3349. ^
  3350. /home/tabl/BitchX/include/modval.h:299:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3351. #define new_window(x) ((Window *) (global[NEW_WINDOW]((Screen *)x)))
  3352. ^
  3353. commands2.c:1312:14: note: in expansion of macro ‘new_window’
  3354. if ((tmp = new_window(current_window->screen)))
  3355. ^
  3356. /home/tabl/BitchX/include/modval.h:411:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3357. #define make_channel(x) ((char *) (global[MAKE_CHANNEL]((char *)x)))
  3358. ^
  3359. commands2.c:1317:30: note: in expansion of macro ‘make_channel’
  3360. if (channel && (channel = make_channel(channel)))
  3361. ^
  3362. In file included from commands2.c:83:0:
  3363. /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3364. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  3365. ^
  3366. commands2.c:1320:5: note: in expansion of macro ‘malloc_strcpy’
  3367. malloc_strcpy(&tmp->waiting_channel, channel);
  3368. ^
  3369. /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
  3370. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  3371. ^
  3372. commands2.c:1320:5: note: in expansion of macro ‘malloc_strcpy’
  3373. malloc_strcpy(&tmp->waiting_channel, channel);
  3374. ^
  3375. In file included from commands2.c:83:0:
  3376. commands2.c: In function ‘change_orig_nick’:
  3377. /home/tabl/BitchX/include/modval.h:531:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3378. #define get_server_nickname(x) ((char *) (global[GET_SERVER_NICKNAME]((int)x)))
  3379. ^
  3380. commands2.c:1334:17: note: in expansion of macro ‘get_server_nickname’
  3381. char *curnick = get_server_nickname(server);
  3382. ^
  3383. commands2.c: In function ‘gain_nick’:
  3384. /home/tabl/BitchX/include/modval.h:481:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3385. #define add_timer(x, y, z, n, f, a, b, w, c) ((char *) (global[ADD_TIMER]((int)
  3386. ^
  3387. commands2.c:1359:3: note: in expansion of macro ‘add_timer’
  3388. add_timer(0, empty_string, get_int_var(ORIGNICK_TIME_VAR) * 1000, 1, delay_ga
  3389. ^
  3390. /home/tabl/BitchX/include/modval.h:481:47: warning: value computed is not used [-Wunused-value]
  3391. #define add_timer(x, y, z, n, f, a, b, w, c) ((char *) (global[ADD_TIMER]((int)
  3392. ^
  3393. commands2.c:1359:3: note: in expansion of macro ‘add_timer’
  3394. add_timer(0, empty_string, get_int_var(ORIGNICK_TIME_VAR) * 1000, 1, delay_ga
  3395. ^
  3396. commands2.c: In function ‘orig_nick’:
  3397. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3398. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  3399. ^
  3400. commands2.c:1391:34: note: in expansion of macro ‘next_arg’
  3401. if (!args || !*args || !(nick = next_arg(args, &args)))
  3402. ^
  3403. In file included from commands2.c:83:0:
  3404. /home/tabl/BitchX/include/modval.h:145:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3405. #define check_nickname(x) ((char *) (global[CHECK_NICKNAME]((char *)x)))
  3406. ^
  3407. commands2.c:1411:20: note: in expansion of macro ‘check_nickname’
  3408. else if ((nick = check_nickname(nick)))
  3409. ^
  3410. commands2.c: In function ‘add_bad_nick’:
  3411. /home/tabl/BitchX/include/modval.h:119:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3412. #define m_s3cat(x, y, z) ((char *)(global[M_S3CAT]((char **)x, (char *)y, (char
  3413. ^
  3414. commands2.c:1443:6: note: in expansion of macro ‘m_s3cat’
  3415. m_s3cat(&buffer, lame_nick->nick, "\t");
  3416. ^
  3417. /home/tabl/BitchX/include/modval.h:119:27: warning: value computed is not used [-Wunused-value]
  3418. #define m_s3cat(x, y, z) ((char *)(global[M_S3CAT]((char **)x, (char *)y, (char
  3419. ^
  3420. commands2.c:1443:6: note: in expansion of macro ‘m_s3cat’
  3421. m_s3cat(&buffer, lame_nick->nick, "\t");
  3422. ^
  3423. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3424. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  3425. ^
  3426. commands2.c:1451:6: note: in expansion of macro ‘new_free’
  3427. new_free(&buffer);
  3428. ^
  3429. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  3430. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  3431. ^
  3432. commands2.c:1451:6: note: in expansion of macro ‘new_free’
  3433. new_free(&buffer);
  3434. ^
  3435. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3436. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  3437. ^
  3438. commands2.c:1456:4: note: in expansion of macro ‘new_free’
  3439. new_free(&buffer);
  3440. ^
  3441. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  3442. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  3443. ^
  3444. commands2.c:1456:4: note: in expansion of macro ‘new_free’
  3445. new_free(&buffer);
  3446. ^
  3447. In file included from commands2.c:83:0:
  3448. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3449. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  3450. ^
  3451. commands2.c:1464:10: note: in expansion of macro ‘next_arg’
  3452. nick = next_arg(args, &args);
  3453. ^
  3454. In file included from commands2.c:83:0:
  3455. /home/tabl/BitchX/include/modval.h:111:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3456. #define new_malloc(x) ((void *)(global[NEW_MALLOC]((x),MODULENAME, __FILE__,__L
  3457. ^
  3458. commands2.c:1468:28: note: in expansion of macro ‘new_malloc’
  3459. lame_nick = (LameList *)new_malloc(sizeof(LameList));
  3460. ^
  3461. /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3462. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  3463. ^
  3464. commands2.c:1469:4: note: in expansion of macro ‘malloc_strcpy’
  3465. malloc_strcpy(&lame_nick->nick, nick);
  3466. ^
  3467. /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
  3468. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  3469. ^
  3470. commands2.c:1469:4: note: in expansion of macro ‘malloc_strcpy’
  3471. malloc_strcpy(&lame_nick->nick, nick);
  3472. ^
  3473. In file included from commands2.c:83:0:
  3474. /home/tabl/BitchX/include/modval.h:228:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3475. #define remove_from_list(x, y) ((List *) (global[REMOVE_FROM_LIST_]((List **)x,
  3476. ^
  3477. commands2.c:1474:28: note: in expansion of macro ‘remove_from_list’
  3478. lame_nick = (LameList *)remove_from_list((List **)&lame_list, nick);
  3479. ^
  3480. In file included from commands2.c:83:0:
  3481. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3482. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  3483. ^
  3484. commands2.c:1477:5: note: in expansion of macro ‘new_free’
  3485. new_free(&lame_nick->nick);
  3486. ^
  3487. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  3488. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  3489. ^
  3490. commands2.c:1477:5: note: in expansion of macro ‘new_free’
  3491. new_free(&lame_nick->nick);
  3492. ^
  3493. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3494. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  3495. ^
  3496. commands2.c:1478:5: note: in expansion of macro ‘new_free’
  3497. new_free((char **)&lame_nick);
  3498. ^
  3499. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  3500. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  3501. ^
  3502. commands2.c:1478:5: note: in expansion of macro ‘new_free’
  3503. new_free((char **)&lame_nick);
  3504. ^
  3505. /home/tabl/BitchX/include/modval.h:119:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3506. #define m_s3cat(x, y, z) ((char *)(global[M_S3CAT]((char **)x, (char *)y, (char
  3507. ^
  3508. commands2.c:1486:5: note: in expansion of macro ‘m_s3cat’
  3509. m_s3cat(&buffer, nick, "\t");
  3510. ^
  3511. /home/tabl/BitchX/include/modval.h:119:27: warning: value computed is not used [-Wunused-value]
  3512. #define m_s3cat(x, y, z) ((char *)(global[M_S3CAT]((char **)x, (char *)y, (char
  3513. ^
  3514. commands2.c:1486:5: note: in expansion of macro ‘m_s3cat’
  3515. m_s3cat(&buffer, nick, "\t");
  3516. ^
  3517. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3518. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  3519. ^
  3520. commands2.c:1493:2: note: in expansion of macro ‘new_free’
  3521. new_free(&buffer);
  3522. ^
  3523. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  3524. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  3525. ^
  3526. commands2.c:1493:2: note: in expansion of macro ‘new_free’
  3527. new_free(&buffer);
  3528. ^
  3529. commands2.c: In function ‘grab_http’:
  3530. /home/tabl/BitchX/include/modval.h:140:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3531. #define stristr(x, y) ((char *) (global[STRISTR]((const char *)x, (char *)y)))
  3532. ^
  3533. commands2.c:1515:37: note: in expansion of macro ‘stristr’
  3534. if ((get_int_var(HTTP_GRAB_VAR) && stristr(text, "HTTP:")) || (get_int_var(FTP
  3535. ^
  3536. /home/tabl/BitchX/include/modval.h:140:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3537. #define stristr(x, y) ((char *) (global[STRISTR]((const char *)x, (char *)y)))
  3538. ^
  3539. commands2.c:1515:95: note: in expansion of macro ‘stristr’
  3540. B_VAR) && stristr(text, "HTTP:")) || (get_int_var(FTP_GRAB_VAR) && (stristr(tex
  3541. ^
  3542. /home/tabl/BitchX/include/modval.h:140:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3543. #define stristr(x, y) ((char *) (global[STRISTR]((const char *)x, (char *)y)))
  3544. ^
  3545. commands2.c:1515:120: note: in expansion of macro ‘stristr’
  3546. HTTP:")) || (get_int_var(FTP_GRAB_VAR) && (stristr(text, "FTP:") || stristr(tex
  3547. ^
  3548. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3549. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  3550. ^
  3551. commands2.c:1522:5: note: in expansion of macro ‘new_free’
  3552. new_free(&q);
  3553. ^
  3554. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  3555. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  3556. ^
  3557. commands2.c:1522:5: note: in expansion of macro ‘new_free’
  3558. new_free(&q);
  3559. ^
  3560. /home/tabl/BitchX/include/modval.h:111:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3561. #define new_malloc(x) ((void *)(global[NEW_MALLOC]((x),MODULENAME, __FILE__,__L
  3562. ^
  3563. commands2.c:1537:25: note: in expansion of macro ‘new_malloc’
  3564. new_url = (UrlList *) new_malloc(sizeof(UrlList));
  3565. ^
  3566. In file included from commands2.c:83:0:
  3567. commands2.c: In function ‘url_grabber’:
  3568. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3569. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  3570. ^
  3571. commands2.c:1564:15: note: in expansion of macro ‘next_arg’
  3572. while ((p = next_arg(args, &args)))
  3573. ^
  3574. /home/tabl/BitchX/include/modval.h:471:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3575. #define get_string_var(x) ((char *) (global[GET_STRING_VAR]((int)x)))
  3576. ^
  3577. commands2.c:1573:56: note: in expansion of macro ‘get_string_var’
  3578. snprintf(buffer, BIG_BUFFER_SIZE, "%s/BitchX.url", get_string_var(CTOOLZ_DI
  3579. ^
  3580. In file included from commands2.c:83:0:
  3581. /home/tabl/BitchX/include/modval.h:144:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3582. #define expand_twiddle(x) ((char *) (global[EXPAND_TWIDDLE]((char *)x)))
  3583. ^
  3584. commands2.c:1574:16: note: in expansion of macro ‘expand_twiddle’
  3585. filename = expand_twiddle(buffer);
  3586. ^
  3587. In file included from commands2.c:83:0:
  3588. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3589. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  3590. ^
  3591. commands2.c:1578:15: note: in expansion of macro ‘next_arg’
  3592. number = next_arg(args, &args);
  3593. ^
  3594. In file included from commands2.c:83:0:
  3595. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3596. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  3597. ^
  3598. commands2.c:1584:5: note: in expansion of macro ‘new_free’
  3599. new_free(&filename);
  3600. ^
  3601. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  3602. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  3603. ^
  3604. commands2.c:1584:5: note: in expansion of macro ‘new_free’
  3605. new_free(&filename);
  3606. ^
  3607. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3608. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  3609. ^
  3610. commands2.c:1592:6: note: in expansion of macro ‘new_free’
  3611. new_free(&cur_url);
  3612. ^
  3613. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  3614. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  3615. ^
  3616. commands2.c:1592:6: note: in expansion of macro ‘new_free’
  3617. new_free(&cur_url);
  3618. ^
  3619. In file included from commands2.c:83:0:
  3620. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3621. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  3622. ^
  3623. commands2.c:1601:17: note: in expansion of macro ‘next_arg’
  3624. char *ans = next_arg(args, &args);
  3625. ^
  3626. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3627. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  3628. ^
  3629. commands2.c:1611:17: note: in expansion of macro ‘next_arg’
  3630. char *ans = next_arg(args, &args);
  3631. ^
  3632. In file included from commands2.c:83:0:
  3633. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3634. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  3635. ^
  3636. commands2.c:1628:7: note: in expansion of macro ‘new_free’
  3637. new_free(&cur_url);
  3638. ^
  3639. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  3640. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  3641. ^
  3642. commands2.c:1628:7: note: in expansion of macro ‘new_free’
  3643. new_free(&cur_url);
  3644. ^
  3645. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3646. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  3647. ^
  3648. commands2.c:1643:14: note: in expansion of macro ‘new_free’
  3649. new_free(&cur_url);
  3650. ^
  3651. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  3652. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  3653. ^
  3654. commands2.c:1643:14: note: in expansion of macro ‘new_free’
  3655. new_free(&cur_url);
  3656. ^
  3657. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3658. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  3659. ^
  3660. commands2.c:1671:96: note: in expansion of macro ‘on_off’
  3661. ut_format("$G HTTP grab %K[%W$0%K]%n FTP grab %K[%W$1%K]", "%s %s", on_off(get_
  3662. ^
  3663. /home/tabl/BitchX/include/modval.h:174:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3664. #define on_off(x) ((char *) (global[ON_OFF]((int)x)))
  3665. ^
  3666. commands2.c:1671:132: note: in expansion of macro ‘on_off’
  3667. FTP grab %K[%W$1%K]", "%s %s", on_off(get_int_var(HTTP_GRAB_VAR)), on_off(get_
  3668. ^
  3669. commands2.c: In function ‘set_autoreply’:
  3670. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3671. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  3672. ^
  3673. commands2.c:1739:3: note: in expansion of macro ‘new_free’
  3674. new_free(&auto_str);
  3675. ^
  3676. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  3677. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  3678. ^
  3679. commands2.c:1739:3: note: in expansion of macro ‘new_free’
  3680. new_free(&auto_str);
  3681. ^
  3682. In file included from commands2.c:83:0:
  3683. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3684. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  3685. ^
  3686. commands2.c:1744:7: note: in expansion of macro ‘next_arg’
  3687. p = next_arg(args, &args);
  3688. ^
  3689. In file included from commands2.c:83:0:
  3690. /home/tabl/BitchX/include/modval.h:123:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3691. #define m_e3cat(x, y, z) ((char *)(global[M_E3CAT]((char **)x, (char *)y, (char
  3692. ^
  3693. commands2.c:1748:4: note: in expansion of macro ‘m_e3cat’
  3694. m_e3cat(&new_args, nickname, space);
  3695. ^
  3696. /home/tabl/BitchX/include/modval.h:123:27: warning: value computed is not used [-Wunused-value]
  3697. #define m_e3cat(x, y, z) ((char *)(global[M_E3CAT]((char **)x, (char *)y, (char
  3698. ^
  3699. commands2.c:1748:4: note: in expansion of macro ‘m_e3cat’
  3700. m_e3cat(&new_args, nickname, space);
  3701. ^
  3702. /home/tabl/BitchX/include/modval.h:123:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3703. #define m_e3cat(x, y, z) ((char *)(global[M_E3CAT]((char **)x, (char *)y, (char
  3704. ^
  3705. commands2.c:1749:4: note: in expansion of macro ‘m_e3cat’
  3706. m_e3cat(&new_args, strip(nickname, not_wanted1), (len > 4 ? space: empty_str
  3707. ^
  3708. /home/tabl/BitchX/include/modval.h:123:27: warning: value computed is not used [-Wunused-value]
  3709. #define m_e3cat(x, y, z) ((char *)(global[M_E3CAT]((char **)x, (char *)y, (char
  3710. ^
  3711. commands2.c:1749:4: note: in expansion of macro ‘m_e3cat’
  3712. m_e3cat(&new_args, strip(nickname, not_wanted1), (len > 4 ? space: empty_str
  3713. ^
  3714. /home/tabl/BitchX/include/modval.h:123:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3715. #define m_e3cat(x, y, z) ((char *)(global[M_E3CAT]((char **)x, (char *)y, (char
  3716. ^
  3717. commands2.c:1757:6: note: in expansion of macro ‘m_e3cat’
  3718. m_e3cat(&new_args, new_nick, space);
  3719. ^
  3720. /home/tabl/BitchX/include/modval.h:123:27: warning: value computed is not used [-Wunused-value]
  3721. #define m_e3cat(x, y, z) ((char *)(global[M_E3CAT]((char **)x, (char *)y, (char
  3722. ^
  3723. commands2.c:1757:6: note: in expansion of macro ‘m_e3cat’
  3724. m_e3cat(&new_args, new_nick, space);
  3725. ^
  3726. /home/tabl/BitchX/include/modval.h:123:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3727. #define m_e3cat(x, y, z) ((char *)(global[M_E3CAT]((char **)x, (char *)y, (char
  3728. ^
  3729. commands2.c:1760:5: note: in expansion of macro ‘m_e3cat’
  3730. m_e3cat(&new_args, strip(nickname, not_wanted2), (len > 4 ? space:empty_str
  3731. ^
  3732. /home/tabl/BitchX/include/modval.h:123:27: warning: value computed is not used [-Wunused-value]
  3733. #define m_e3cat(x, y, z) ((char *)(global[M_E3CAT]((char **)x, (char *)y, (char
  3734. ^
  3735. commands2.c:1760:5: note: in expansion of macro ‘m_e3cat’
  3736. m_e3cat(&new_args, strip(nickname, not_wanted2), (len > 4 ? space:empty_str
  3737. ^
  3738. /home/tabl/BitchX/include/modval.h:115:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3739. #define malloc_strcat(x, y) ((char *)(global[MALLOC_STRCAT]((char **)x, (char *
  3740. ^
  3741. commands2.c:1768:6: note: in expansion of macro ‘malloc_strcat’
  3742. malloc_strcat(&new_args, new_nick);
  3743. ^
  3744. /home/tabl/BitchX/include/modval.h:115:30: warning: value computed is not used [-Wunused-value]
  3745. #define malloc_strcat(x, y) ((char *)(global[MALLOC_STRCAT]((char **)x, (char *
  3746. ^
  3747. commands2.c:1768:6: note: in expansion of macro ‘malloc_strcat’
  3748. malloc_strcat(&new_args, new_nick);
  3749. ^
  3750. /home/tabl/BitchX/include/modval.h:121:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3751. #define m_3cat(x, y, z) ((char *) (global[M_3CAT]((char **)x, (char *)y, (char
  3752. ^
  3753. commands2.c:1776:5: note: in expansion of macro ‘m_3cat’
  3754. m_3cat(&new_args, p, args?space:empty_string);
  3755. ^
  3756. /home/tabl/BitchX/include/modval.h:121:26: warning: value computed is not used [-Wunused-value]
  3757. #define m_3cat(x, y, z) ((char *) (global[M_3CAT]((char **)x, (char *)y, (char
  3758. ^
  3759. commands2.c:1776:5: note: in expansion of macro ‘m_3cat’
  3760. m_3cat(&new_args, p, args?space:empty_string);
  3761. ^
  3762. In file included from commands2.c:83:0:
  3763. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3764. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  3765. ^
  3766. commands2.c:1777:18: note: in expansion of macro ‘next_arg’
  3767. } while ((p = next_arg(args, &args)));
  3768. ^
  3769. In file included from commands2.c:83:0:
  3770. /home/tabl/BitchX/include/modval.h:112:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3771. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  3772. ^
  3773. commands2.c:1781:3: note: in expansion of macro ‘new_free’
  3774. new_free(&new_args);
  3775. ^
  3776. /home/tabl/BitchX/include/modval.h:112:22: warning: value computed is not used [-Wunused-value]
  3777. #define new_free(x) ((void *)(global[NEW_FREE]((x),MODULENAME, __FILE__,__LINE_
  3778. ^
  3779. commands2.c:1781:3: note: in expansion of macro ‘new_free’
  3780. new_free(&new_args);
  3781. ^
  3782. In file included from commands2.c:83:0:
  3783. /home/tabl/BitchX/include/modval.h:471:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3784. #define get_string_var(x) ((char *) (global[GET_STRING_VAR]((int)x)))
  3785. ^
  3786. commands2.c:1782:45: note: in expansion of macro ‘get_string_var’
  3787. bitchsay("Auto-Response now set to [%s]", get_string_var(AUTO_RESPONSE_STR_VA
  3788. ^
  3789. commands2.c: In function ‘add_no_flood’:
  3790. /home/tabl/BitchX/include/modval.h:439:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3791. #define next_namelist(x, y, z) ((List *) (global[NEXT_NAMELIST]((HashEntry *)x,
  3792. ^
  3793. commands2.c:1812:15: note: in expansion of macro ‘next_namelist’
  3794. for (nptr = next_namelist(no_flood_list, NULL, FLOOD_HASHSIZE); nptr; nptr =
  3795. ^
  3796. /home/tabl/BitchX/include/modval.h:439:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3797. #define next_namelist(x, y, z) ((List *) (global[NEXT_NAMELIST]((HashEntry *)x,
  3798. ^
  3799. commands2.c:1812:80: note: in expansion of macro ‘next_namelist’
  3800. = next_namelist(no_flood_list, NULL, FLOOD_HASHSIZE); nptr; nptr = next_nameli
  3801. ^
  3802. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3803. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  3804. ^
  3805. commands2.c:1822:9: note: in expansion of macro ‘next_arg’
  3806. nick = next_arg(args, &args);
  3807. ^
  3808. /home/tabl/BitchX/include/modval.h:441:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3809. #define find_name_in_genericlist(x, y, z, a) ((List *) (global[FIND_NAME_IN_GEN
  3810. ^
  3811. commands2.c:1825:16: note: in expansion of macro ‘find_name_in_genericlist’
  3812. if (!(nptr = find_name_in_genericlist(nick, no_flood_list, FLOOD_HASHSIZE, 0)
  3813. ^
  3814. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3815. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  3816. ^
  3817. commands2.c:1827:10: note: in expansion of macro ‘next_arg’
  3818. nick = next_arg(args, &args);
  3819. ^
  3820. commands2.c: In function ‘check_clones’:
  3821. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3822. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  3823. ^
  3824. commands2.c:1840:13: note: in expansion of macro ‘next_arg’
  3825. channel = next_arg(args, &args);
  3826. ^
  3827. /home/tabl/BitchX/include/modval.h:411:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3828. #define make_channel(x) ((char *) (global[MAKE_CHANNEL]((char *)x)))
  3829. ^
  3830. commands2.c:1841:13: note: in expansion of macro ‘make_channel’
  3831. channel = make_channel(channel);
  3832. ^
  3833. /home/tabl/BitchX/include/modval.h:258:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3834. #define prepare_command(x, y, z) ((ChannelList *)(global[PREPARE_COMMAND](x, y,
  3835. ^
  3836. commands2.c:1842:10: note: in expansion of macro ‘prepare_command’
  3837. chan = prepare_command(&server, channel, NO_OP);
  3838. ^
  3839. /home/tabl/BitchX/include/modval.h:341:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3840. #define get_current_channel_by_refnum(x) ((char *) (global[GET_CURRENT_CHANNEL_
  3841. ^
  3842. commands2.c:1846:13: note: in expansion of macro ‘get_current_channel_by_refnum’
  3843. channel = get_current_channel_by_refnum(0);
  3844. ^
  3845. /home/tabl/BitchX/include/modval.h:258:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3846. #define prepare_command(x, y, z) ((ChannelList *)(global[PREPARE_COMMAND](x, y,
  3847. ^
  3848. commands2.c:1847:10: note: in expansion of macro ‘prepare_command’
  3849. chan = prepare_command(&server, channel, NO_OP);
  3850. ^
  3851. /home/tabl/BitchX/include/modval.h:438:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3852. #define next_nicklist(x, y) ((NickList *) (global[NEXT_NICKLIST] ((ChannelList
  3853. ^
  3854. commands2.c:1851:14: note: in expansion of macro ‘next_nicklist’
  3855. for (nptr = next_nicklist(chan, NULL); nptr; nptr = next_nicklist(chan, nptr))
  3856. ^
  3857. /home/tabl/BitchX/include/modval.h:438:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3858. #define next_nicklist(x, y) ((NickList *) (global[NEXT_NICKLIST] ((ChannelList
  3859. ^
  3860. commands2.c:1851:54: note: in expansion of macro ‘next_nicklist’
  3861. for (nptr = next_nicklist(chan, NULL); nptr; nptr = next_nicklist(chan, nptr))
  3862. ^
  3863. /home/tabl/BitchX/include/modval.h:438:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3864. #define next_nicklist(x, y) ((NickList *) (global[NEXT_NICKLIST] ((ChannelList
  3865. ^
  3866. commands2.c:1853:14: note: in expansion of macro ‘next_nicklist’
  3867. for (nptr = next_nicklist(chan, NULL); nptr; nptr = next_nicklist(chan, nptr))
  3868. ^
  3869. /home/tabl/BitchX/include/modval.h:438:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3870. #define next_nicklist(x, y) ((NickList *) (global[NEXT_NICKLIST] ((ChannelList
  3871. ^
  3872. commands2.c:1853:54: note: in expansion of macro ‘next_nicklist’
  3873. for (nptr = next_nicklist(chan, NULL); nptr; nptr = next_nicklist(chan, nptr))
  3874. ^
  3875. /home/tabl/BitchX/include/modval.h:438:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3876. #define next_nicklist(x, y) ((NickList *) (global[NEXT_NICKLIST] ((ChannelList
  3877. ^
  3878. commands2.c:1858:16: note: in expansion of macro ‘next_nicklist’
  3879. for (nptr1 = next_nicklist(chan, NULL); nptr1; nptr1 = next_nicklist(chan, np
  3880. ^
  3881. /home/tabl/BitchX/include/modval.h:438:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3882. #define next_nicklist(x, y) ((NickList *) (global[NEXT_NICKLIST] ((ChannelList
  3883. ^
  3884. commands2.c:1858:58: note: in expansion of macro ‘next_nicklist’
  3885. for (nptr1 = next_nicklist(chan, NULL); nptr1; nptr1 = next_nicklist(chan, np
  3886. ^
  3887. commands2.c: In function ‘pastecmd’:
  3888. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3889. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  3890. ^
  3891. commands2.c:1918:15: note: in expansion of macro ‘next_arg’
  3892. if ((lines = next_arg(args, &args)))
  3893. ^
  3894. /home/tabl/BitchX/include/modval.h:341:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3895. #define get_current_channel_by_refnum(x) ((char *) (global[GET_CURRENT_CHANNEL_
  3896. ^
  3897. commands2.c:1921:13: note: in expansion of macro ‘get_current_channel_by_refnum’
  3898. channel = get_current_channel_by_refnum(0);
  3899. ^
  3900. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3901. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  3902. ^
  3903. commands2.c:1927:8: note: in expansion of macro ‘next_arg’
  3904. t = next_arg(args, &args);
  3905. ^
  3906. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3907. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  3908. ^
  3909. commands2.c:1934:11: note: in expansion of macro ‘next_arg’
  3910. t = next_arg(args, &args);
  3911. ^
  3912. /home/tabl/BitchX/include/modval.h:341:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3913. #define get_current_channel_by_refnum(x) ((char *) (global[GET_CURRENT_CHANNEL_
  3914. ^
  3915. commands2.c:1947:30: note: in expansion of macro ‘get_current_channel_by_refnum’
  3916. if (!channel && !(channel = get_current_channel_by_refnum(0)))
  3917. ^
  3918. /home/tabl/BitchX/include/modval.h:322:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3919. #define get_window_by_refnum(x) ((Window *) (global[GET_WINDOW_BY_REFNUM]((unsi
  3920. ^
  3921. commands2.c:1949:8: note: in expansion of macro ‘get_window_by_refnum’
  3922. win = get_window_by_refnum(winref);
  3923. ^
  3924. /home/tabl/BitchX/include/modval.h:455:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3925. #define fget_string_var(x) ((char *)(global[FGET_STRING_VAR]((int)x)))
  3926. ^
  3927. /home/tabl/BitchX/include/modval.h:261:86: note: in definition of macro ‘send_text’
  3928. (x, y, z, a, b) ((void) (global[SEND_TEXT]((char *)x, (const char *)y, (char *)
  3929. ^
  3930. commands2.c:2020:46: note: in expansion of macro ‘fget_string_var’
  3931. send_text(channel, convert_output_format(fget_string_var(FORMAT_PASTE_FSET)
  3932. ^
  3933. commands2.c: In function ‘handle_reconnect’:
  3934. commands2.c:2457:56: warning: pointer targets in passing argument 3 of ‘getpeername’ differ in signedness [-Wpointer-sign]
  3935. if (n < 0 || getpeername(n, (struct sockaddr *)&addr, &len) < 0)
  3936. ^
  3937. In file included from /home/tabl/BitchX/include/irc.h:62:0,
  3938. from commands2.c:8:
  3939. /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 *’
  3940. extern int getpeername (int __fd, __SOCKADDR_ARG __addr,
  3941. ^
  3942. In file included from commands2.c:83:0:
  3943. commands2.c: In function ‘do_detach’:
  3944. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3945. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  3946. ^
  3947. /home/tabl/BitchX/include/modval.h:191:56: note: in definition of macro ‘m_strdup’
  3948. #define m_strdup(x) ((char *)(global[M_STRDUP]((char *)x, MODULENAME, __FILE__,
  3949. ^
  3950. commands2.c:2609:23: note: in expansion of macro ‘next_arg’
  3951. old_pass = m_strdup(next_arg(args, &args));
  3952. ^
  3953. /home/tabl/BitchX/include/modval.h:191:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3954. #define m_strdup(x) ((char *)(global[M_STRDUP]((char *)x, MODULENAME, __FILE__,
  3955. ^
  3956. commands2.c:2609:14: note: in expansion of macro ‘m_strdup’
  3957. old_pass = m_strdup(next_arg(args, &args));
  3958. ^
  3959. commands2.c: In function ‘detachcmd’:
  3960. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3961. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  3962. ^
  3963. commands2.c:2665:12: note: in expansion of macro ‘next_arg’
  3964. if ((p = next_arg(args, &args)))
  3965. ^
  3966. In file included from commands2.c:83:0:
  3967. /home/tabl/BitchX/include/modval.h:188:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3968. #define cryptit(x) ((char *) (global[CRYPTIT]((const char *)x)))
  3969. ^
  3970. /home/tabl/BitchX/include/modval.h:114:81: note: in definition of macro ‘malloc_strcpy’
  3971. oc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *)y, MODULENA
  3972. ^
  3973. commands2.c:2666:29: note: in expansion of macro ‘cryptit’
  3974. malloc_strcpy(&old_pass, cryptit(p));
  3975. ^
  3976. /home/tabl/BitchX/include/modval.h:114:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3977. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  3978. ^
  3979. commands2.c:2666:4: note: in expansion of macro ‘malloc_strcpy’
  3980. malloc_strcpy(&old_pass, cryptit(p));
  3981. ^
  3982. /home/tabl/BitchX/include/modval.h:114:30: warning: value computed is not used [-Wunused-value]
  3983. #define malloc_strcpy(x, y) ((char *)(global[MALLOC_STRCPY]((char **)x, (char *
  3984. ^
  3985. commands2.c:2666:4: note: in expansion of macro ‘malloc_strcpy’
  3986. malloc_strcpy(&old_pass, cryptit(p));
  3987. ^
  3988. In file included from commands2.c:83:0:
  3989. commands2.c: In function ‘spam’:
  3990. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3991. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  3992. ^
  3993. commands2.c:2710:6: note: in expansion of macro ‘next_arg’
  3994. c = next_arg(args, &args);
  3995. ^
  3996. /home/tabl/BitchX/include/modval.h:411:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  3997. #define make_channel(x) ((char *) (global[MAKE_CHANNEL]((char *)x)))
  3998. ^
  3999. commands2.c:2711:6: note: in expansion of macro ‘make_channel’
  4000. c = make_channel(c);
  4001. ^
  4002. /home/tabl/BitchX/include/modval.h:433:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  4003. #define lookup_channel(x, y, z) ((ChannelList *) (global[LOOKUP_CHANNEL]((char
  4004. ^
  4005. commands2.c:2717:14: note: in expansion of macro ‘lookup_channel’
  4006. if ((chan = lookup_channel(c, from_server, 0)))
  4007. ^
  4008. /home/tabl/BitchX/include/modval.h:438:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  4009. #define next_nicklist(x, y) ((NickList *) (global[NEXT_NICKLIST] ((ChannelList
  4010. ^
  4011. commands2.c:2720:12: note: in expansion of macro ‘next_nicklist’
  4012. for (u = next_nicklist(chan, NULL); u; u = next_nicklist(chan, u))
  4013. ^
  4014. /home/tabl/BitchX/include/modval.h:438:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  4015. #define next_nicklist(x, y) ((NickList *) (global[NEXT_NICKLIST] ((ChannelList
  4016. ^
  4017. commands2.c:2720:46: note: in expansion of macro ‘next_nicklist’
  4018. for (u = next_nicklist(chan, NULL); u; u = next_nicklist(chan, u))
  4019. ^
  4020. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  4021. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  4022. ^
  4023. commands2.c:2726:16: note: in expansion of macro ‘next_arg’
  4024. while ((t = next_arg(tmpc, &tmpc)))
  4025. ^
  4026. /home/tabl/BitchX/include/modval.h:411:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  4027. #define make_channel(x) ((char *) (global[MAKE_CHANNEL]((char *)x)))
  4028. ^
  4029. commands2.c:2728:15: note: in expansion of macro ‘make_channel’
  4030. if (!(t = make_channel(t)))
  4031. ^
  4032. /home/tabl/BitchX/include/modval.h:433:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  4033. #define lookup_channel(x, y, z) ((ChannelList *) (global[LOOKUP_CHANNEL]((char
  4034. ^
  4035. commands2.c:2730:13: note: in expansion of macro ‘lookup_channel’
  4036. chan1 = lookup_channel(t, from_server, 0);
  4037. ^
  4038. /home/tabl/BitchX/include/modval.h:436:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  4039. #define find_nicklist_in_channellist(x, y, z) ((NickList *) (global[FIND_NICKLI
  4040. ^
  4041. commands2.c:2733:16: note: in expansion of macro ‘find_nicklist_in_channellist’
  4042. if (!(u1 = find_nicklist_in_channellist(u->nick, chan1, 0)))
  4043. ^
  4044. commands2.c: In function ‘send_kline’:
  4045. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  4046. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  4047. ^
  4048. commands2.c:2751:20: note: in expansion of macro ‘next_arg’
  4049. while ((target = next_arg(args, &args)))
  4050. ^
  4051. /home/tabl/BitchX/include/modval.h:200:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  4052. #define next_in_comma_list(x, y) ((char *)(global[NEXT_IN_COMMA_LIST]((char *)x
  4053. ^
  4054. commands2.c:2753:16: note: in expansion of macro ‘next_in_comma_list’
  4055. while ((t = next_in_comma_list(target, &target)))
  4056. ^
  4057. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  4058. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  4059. ^
  4060. commands2.c:2761:8: note: in expansion of macro ‘next_arg’
  4061. dur = next_arg(args, &args);
  4062. ^
  4063. /home/tabl/BitchX/include/modval.h:196:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  4064. #define next_arg(x, y) ((char *)(global[NEXT_ARG]((char *)x, (char **)y)))
  4065. ^
  4066. commands2.c:2774:13: note: in expansion of macro ‘next_arg’
  4067. target = next_arg(args, &args);
  4068. ^
  4069. /home/tabl/BitchX/include/modval.h:200:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  4070. #define next_in_comma_list(x, y) ((char *)(global[NEXT_IN_COMMA_LIST]((char *)x
  4071. ^
  4072. commands2.c:2787:14: note: in expansion of macro ‘next_in_comma_list’
  4073. while ((t = next_in_comma_list(target, &target)))
  4074. ^
  4075. commands2.c: In function ‘handle_reconnect’:
  4076. commands2.c:2506:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
  4077. write(n, &parm, sizeof(struct param));
  4078. ^
  4079. commands2.c: In function ‘create_ipc_socket’:
  4080. commands2.c:2581:4: warning: ignoring return value of ‘chown’, declared with attribute warn_unused_result [-Wunused-result]
  4081. chown(buf, getuid(), getgid());
  4082. ^
  4083. commands2.c:2583:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
  4084. write(u, connect_cookie, strlen(connect_cookie));
  4085. ^
  4086. commands2.c:2584:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
  4087. write(u, "\n", 1);
  4088. ^
  4089. commands2.c: In function ‘close_detach_fd’:
  4090. commands2.c:2634:2: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
  4091. freopen("/dev/null", "r", stdin);
  4092. ^
  4093. commands2.c:2635:2: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
  4094. freopen("/dev/null", "w", stdout);
  4095. ^
  4096. commands2.c:2636:2: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
  4097. freopen("/dev/null", "w", stderr);
  4098. ^
  4099. In file included from /usr/include/fcntl.h:289:0,
  4100. from /usr/include/x86_64-linux-gnu/sys/fcntl.h:1,
  4101. from /home/tabl/BitchX/include/irc.h:81,
  4102. from commands2.c:8:
  4103. In function ‘open’,
  4104. inlined from ‘create_ipc_socket’ at commands2.c:2578:6:
  4105. /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
  4106. __open_missing_mode ();
  4107. ^
  4108. Makefile:185: recipe for target 'commands2.o' failed
  4109. make[1]: *** [commands2.o] Error 1
  4110. make[1]: Leaving directory '/home/tabl/BitchX/source'
  4111. Makefile:201: recipe for target 'BitchX' failed
  4112. make: *** [BitchX] Error 2
  4113. tabl@tabl-15U340-L-BK35P1:~/BitchX$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement